Skip to content

Commit 8d21720

Browse files
committed
ref(core): Add more specific exception mechanism for internal errors
1 parent 8c1149b commit 8d21720

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,10 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
11591159
}
11601160

11611161
this.captureException(reason, {
1162+
mechanism: {
1163+
handled: false,
1164+
type: 'internal',
1165+
},
11621166
data: {
11631167
__sentry__: true,
11641168
},

0 commit comments

Comments
 (0)