File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import {
13
13
modulesIntegration ,
14
14
nativeNodeFetchintegration ,
15
15
nodeContextIntegration ,
16
+ onUncaughtExceptionIntegration ,
17
+ onUnhandledRejectionIntegration ,
16
18
} from '@sentry/node' ;
17
19
import type { Integration , Options } from '@sentry/types' ;
18
20
@@ -32,9 +34,9 @@ export const defaultIntegrations = [
32
34
consoleIntegration ( ) ,
33
35
httpIntegration ( ) ,
34
36
nativeNodeFetchintegration ( ) ,
35
- // Global Handlers # TODO (waiting for https://github.com/oven-sh/bun/issues/5091)
36
- // new NodeIntegrations.OnUncaughtException (),
37
- // new NodeIntegrations.OnUnhandledRejection (),
37
+ // Global Handlers
38
+ onUncaughtExceptionIntegration ( ) ,
39
+ onUnhandledRejectionIntegration ( ) ,
38
40
// Event Info
39
41
contextLinesIntegration ( ) ,
40
42
// new NodeIntegrations.LocalVariables(), # does't work with Bun
You can’t perform that action at this time.
0 commit comments