From 3aea2beb3a415a3ae7613405206ac361ea76b05e Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Tue, 14 Jan 2025 16:02:47 -0500 Subject: [PATCH] fix: skfp-1415 add stacktrace to help debugging --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) 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 });