Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 461cdb7691
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| export default Sentry.wrap(ObserveRoot.wrap(RootLayout)); | ||
| export default ObserveRoot.wrap(RootLayout); |
There was a problem hiding this comment.
Restore the Sentry root wrapper in production
When a production render or lifecycle error occurs, this export no longer mounts Sentry's React error boundary because calling Sentry.init does not replace Sentry.wrap. The previous export wrapped the root component, so this change drops Sentry's component-stack capture and related React instrumentation even though production monitoring is still configured above; conditionally retain Sentry.wrap(ObserveRoot.wrap(RootLayout)) for production builds.
Useful? React with 👍 / 👎.
No description provided.