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 {
1212 modulesIntegration ,
1313 nativeNodeFetchIntegration ,
1414 nodeContextIntegration ,
15+ onUncaughtExceptionIntegration ,
16+ onUnhandledRejectionIntegration ,
1517} from '@sentry/node' ;
1618import type { Integration , Options } from '@sentry/types' ;
1719
@@ -33,9 +35,9 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
3335 consoleIntegration ( ) ,
3436 httpIntegration ( ) ,
3537 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 ( ) ,
3941 // Event Info
4042 contextLinesIntegration ( ) ,
4143 nodeContextIntegration ( ) ,
You can’t perform that action at this time.
0 commit comments