Skip to content

fix: crash on handling unhandled exceptions#647

Merged
rchl merged 2 commits intomainfrom
fix/crash-unhandled
Nov 16, 2023
Merged

fix: crash on handling unhandled exceptions#647
rchl merged 2 commits intomainfrom
fix/crash-unhandled

Conversation

@rchl
Copy link
Copy Markdown
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

@github-actions
Copy link
Copy Markdown

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