nuxt-community / sentry-module

Sentry module for Nuxt 2
https://sentry.nuxtjs.org
MIT License
501 stars 114 forks source link

fix: crash on handling unhandled exceptions #647

Closed rchl closed 7 months ago

rchl commented 7 months ago

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: https://github.com/getsentry/sentry-javascript/issues/9579

github-actions[bot] commented 7 months ago

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%)