Replies: 2 comments 4 replies
-
I'm wondering about this as well. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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