Skip to content

Commit 9c87028

Browse files
committed
ref(browser): Adjust mechanism.type in globalHandlersIntegration
1 parent 1d59d8a commit 9c87028

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/browser/src/integrations/globalhandlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function _installGlobalOnErrorHandler(client: Client): void {
7272
originalException: error,
7373
mechanism: {
7474
handled: false,
75-
type: 'onerror',
75+
type: 'auto.browser.global_handlers.onerror',
7676
},
7777
});
7878
});
@@ -98,7 +98,7 @@ function _installGlobalOnUnhandledRejectionHandler(client: Client): void {
9898
originalException: error,
9999
mechanism: {
100100
handled: false,
101-
type: 'onunhandledrejection',
101+
type: 'auto.browser.global_handlers.onunhandledrejection',
102102
},
103103
});
104104
});

0 commit comments

Comments
 (0)