-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDK
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.levelis undefined inbeforeSendhook and/storePOST payload also doesn't have this property.
Unlike onerror, unhandledrejection handler sets event.level = 'error':
| event.level = 'error'; |
Metadata
Metadata
Assignees
Labels
Package: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDK