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 {
1313 modulesIntegration ,
1414 nativeNodeFetchintegration ,
1515 nodeContextIntegration ,
16+ onUncaughtExceptionIntegration ,
17+ onUnhandledRejectionIntegration ,
1618} from '@sentry/node' ;
1719import type { Integration , Options } from '@sentry/types' ;
1820
@@ -32,9 +34,9 @@ export const defaultIntegrations = [
3234 consoleIntegration ( ) ,
3335 httpIntegration ( ) ,
3436 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 ( ) ,
3840 // Event Info
3941 contextLinesIntegration ( ) ,
4042 // new NodeIntegrations.LocalVariables(), # does't work with Bun
You can’t perform that action at this time.
0 commit comments