Replies: 2 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.
-
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