Skip to content

Commit 42df317

Browse files
committed
ref(deno): Adjust mechanism of errors caught by globalHandlersIntegration
1 parent 4b562bc commit 42df317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)