Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/node
-
raven-js
-
raven-node
(raven for node) - other:
Version:
6.16.1
Description
-
GlobalHandlers integration is enabled (by default).
-
const script = document.createElement('script'); script.text = 'throw new Error("oops");'; document.body.appendChild(script);
-
event.level
is undefined inbeforeSend
hook and/store
POST payload also doesn't have this property.
Unlike onerror
, unhandledrejection
handler sets event.level = 'error'
: