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 @@ -12,6 +12,8 @@ import {
12
12
modulesIntegration ,
13
13
nativeNodeFetchIntegration ,
14
14
nodeContextIntegration ,
15
+ onUncaughtExceptionIntegration ,
16
+ onUnhandledRejectionIntegration ,
15
17
} from '@sentry/node' ;
16
18
import type { Integration , Options } from '@sentry/types' ;
17
19
@@ -33,9 +35,9 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
33
35
consoleIntegration ( ) ,
34
36
httpIntegration ( ) ,
35
37
nativeNodeFetchIntegration ( ) ,
36
- // Global Handlers # TODO (waiting for https://github.com/oven-sh/bun/issues/5091)
37
- // new NodeIntegrations.OnUncaughtException (),
38
- // new NodeIntegrations.OnUnhandledRejection (),
38
+ // Global Handlers
39
+ onUncaughtExceptionIntegration ( ) ,
40
+ onUnhandledRejectionIntegration ( ) ,
39
41
// Event Info
40
42
contextLinesIntegration ( ) ,
41
43
nodeContextIntegration ( ) ,
You can’t perform that action at this time.
0 commit comments