Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep Original minified React error in _meta #44877

Closed
2 of 3 tasks
AbhiPrasad opened this issue Feb 20, 2023 · 0 comments
Closed
2 of 3 tasks

Keep Original minified React error in _meta #44877

AbhiPrasad opened this issue Feb 20, 2023 · 0 comments
Assignees

Comments

@AbhiPrasad
Copy link
Member

AbhiPrasad commented Feb 20, 2023

Problem Statement

We want to make it more clear how Sentry is transforming error payloads, specifically for react minified errors. This is because it can be hard to tell how to filter these errors (using either beforeSend or server-side inbound filters) as the UI shows the transformed message, not the original one.

https://github.com/getsentry/relay/blob/master/relay-general/src/types/meta.rs

https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/errormapping.py

Solution Brainstorm

To address this, let's set the _meta field on processed events to add a remark that states that a substitution happened to the exception value. With this field, the UI can then explain to users how to filter errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants