Replies: 3 comments 4 replies
-
I'm wondering about this as well. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
The ability to customize error serialization would solve my React Router v7 issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation mentions sanitization:
https://remix.run/docs/en/main/guides/errors#error-sanitization
Where is this logic implemented and how do I override it?
My use case is that I need to attach an additional property to the error.
Namely, when an error occurs, I want to generate Sentry error ID and display that to the user.
I would imagine that I can do this in the error sanitization stage, e.g.
I just realized that if I do this, then I will get errors reported twice, because
@sentry/remix
already wraps error handler. I can always remove it, but just flagging that there is this issue.Beta Was this translation helpful? Give feedback.
All reactions