Skip to content

fix: crash on handling unhandled exceptions #647

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

Merged
merged 2 commits into from
Nov 16, 2023
Merged

fix: crash on handling unhandled exceptions #647

merged 2 commits into from
Nov 16, 2023

Conversation

rchl
Copy link
Member

@rchl rchl commented Nov 16, 2023

I've noticed that this code can crash on checking 'reason' in event.detail because in check crashes when the right-hand side is undefined.

See also the corresponding Sentry SDK issue: getsentry/sentry-javascript#9579

Copy link

github-actions bot commented Nov 16, 2023

size-limit report 📦

Path Size
fixture: base 381.79 KB (0%)
fixture: replay 500.93 KB (0%)
fixture: lazy 386.58 KB (+0.02% 🔺)
fixture: tracing 401.97 KB (0%)
fixture: lazy+tracing 406.73 KB (+0.02% 🔺)
fixture: typescript 381.92 KB (0%)

@rchl rchl merged commit 007d84d into main Nov 16, 2023
@rchl rchl deleted the fix/crash-unhandled branch November 16, 2023 08:52
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.

1 participant