diff --git a/src/index.js b/src/index.js index e019f674d..4a1b5f550 100644 --- a/src/index.js +++ b/src/index.js @@ -33,8 +33,10 @@ Sentry.init({ }), Sentry.contextLinesIntegration(), Sentry.browserProfilingIntegration(), + Sentry.globalHandlersIntegration({ onerror: true, onunhandledrejection: true }), localStorageIntegration('LocalStorage'), ], + attachStacktrace: true, // Performance Monitoring tracesSampleRate: 1.0, // Capture 100% of the transactions });