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

fix(react): Add actual error name to boundary error name #9065

Merged
merged 1 commit into from Sep 21, 2023

Conversation

jorrit
Copy link
Contributor

@jorrit jorrit commented Sep 20, 2023

Previously, the error name would always be React ErrorBoundary Error, because errorBoundaryError.name refers to the name of the Error object that was just created.

Previously, the error name would always be `React ErrorBoundary Error`.
@AbhiPrasad
Copy link
Member

So this is the correct change, but would break grouping for all our users. @getsentry/team-web-sdk-frontend what should we do?

@lforst
Copy link
Member

lforst commented Sep 21, 2023

So this is the correct change, but would break grouping for all our users. @getsentry/team-web-sdk-frontend what should we do?

@AbhiPrasad I'd change it because right now the grouping is potentially very useless.

@mydea
Copy link
Member

mydea commented Sep 21, 2023

So this is the correct change, but would break grouping for all our users. @getsentry/team-web-sdk-frontend what should we do?

@AbhiPrasad I'd change it because right now the grouping is potentially very useless.

+1, I think it will be more useful than before!

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds like a plan

@AbhiPrasad AbhiPrasad merged commit 1f8de57 into getsentry:develop Sep 21, 2023
43 checks passed
@AbhiPrasad
Copy link
Member

We've released this fix in https://github.com/getsentry/sentry-javascript/releases/tag/7.71.0. Thanks for the PR @jorrit!

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

Successfully merging this pull request may close these issues.

None yet

4 participants