Replies: 3 comments 8 replies
-
Update: Seems like the team is working on it <3 #67539 |
Beta Was this translation helpful? Give feedback.
-
hi @lforst , really excited about this upcoming feature! Our process for handling server errors and capturing for Sentry feels very convoluted at the moment. Just want to make sure I understand implementation details, would the hook in |
Beta Was this translation helpful? Give feedback.
-
📣 Hi here, to share some updates, we introduced a new API called We'd love to hear your feedback on it, lmk if there's anything else we can help to make your error tracking life easier! 🙏 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
As of today, it is impossible to intercept and collect errors that happen within a nested server component:
The error is logged to the console, however, it is not exposed to user-land in any way.
Proposal
Just an idea: Similar to how the
register
hook ininstrumentation.ts
works, we could have anonError
hook ininstrumentation.ts
that receives all errors that happen and is provided with additional information.Prior art:
Beta Was this translation helpful? Give feedback.
All reactions