Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7200e63

Browse files
authored
ref(deno): Adjust mechanism of errors caught by globalHandlersIntegration (#17635)
Now follows the same trace origin-esque naming scheme as the [browser version](https://github.com/getsentry/sentry-javascript/blob/4b562bcbf0a81494627ab2c5a153ddbddb2d89ae/packages/browser/src/integrations/globalhandlers.ts#L101) of `globalHandlersIntegration`. ref #17212
1 parent 73a2388 commit 7200e63

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- ref(core): Adjust `mechanism` in `captureConsoleIntegration` ([#17633](https://github.com/getsentry/sentry-javascript/pull/17633))
2222
- ref(core): Adjust MCP server error event `mechanism` ([#17622](https://github.com/getsentry/sentry-javascript/pull/17622))
2323
- ref(core): Simplify `linkedErrors` mechanism logic ([#17600](https://github.com/getsentry/sentry-javascript/pull/17600))
24+
- ref(deno): Adjust `mechanism` of errors caught by `globalHandlersIntegration` ([#17635](https://github.com/getsentry/sentry-javascript/pull/17635))
2425
- ref(nextjs): Set more specific event `mechanism`s ([#17543](https://github.com/getsentry/sentry-javascript/pull/17543))
2526
- ref(node): Adjust mechanism of express, hapi and fastify error handlers ([#17623](https://github.com/getsentry/sentry-javascript/pull/17623))
2627
- ref(node-core): Add `mechanism` to cron instrumentations ([#17544](https://github.com/getsentry/sentry-javascript/pull/17544))

‎packages/deno/src/integrations/globalhandlers.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function installGlobalErrorHandler(client: Client): void {
6161
originalException: error,
6262
mechanism: {
6363
handled: false,
64-
type: 'error',
64+
type: 'auto.deno.global_handlers.error',
6565
},
6666
});
6767

@@ -110,7 +110,7 @@ function installGlobalUnhandledRejectionHandler(client: Client): void {
110110
originalException: error,
111111
mechanism: {
112112
handled: false,
113-
type: 'unhandledrejection',
113+
type: 'auto.deno.global_handlers.unhandledrejection',
114114
},
115115
});
116116

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /