File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,16 @@ function addServerIntegrations(options: NextjsOptions): void {
118118 } ) ;
119119 integrations = addOrUpdateIntegration ( defaultRewriteFramesIntegration , integrations ) ;
120120
121- const nativeBehaviourOnUncaughtException = new Integrations . OnUncaughtException ( ) ;
122- integrations = addOrUpdateIntegration ( nativeBehaviourOnUncaughtException , integrations , {
123- _options : { exitEvenIfOtherHandlersAreRegistered : false } ,
121+ const nonExitingWhenOtherHandlersAreRegisteredOnUncaughtExceptionIntegration = new Integrations . OnUncaughtException ( {
122+ exitEvenIfOtherHandlersAreRegistered : false ,
124123 } ) ;
124+ integrations = addOrUpdateIntegration (
125+ nonExitingWhenOtherHandlersAreRegisteredOnUncaughtExceptionIntegration ,
126+ integrations ,
127+ {
128+ _options : { exitEvenIfOtherHandlersAreRegistered : false } ,
129+ } ,
130+ ) ;
125131
126132 if ( hasTracingEnabled ( options ) ) {
127133 const defaultHttpTracingIntegration = new Integrations . Http ( { tracing : true } ) ;
You can’t perform that action at this time.
0 commit comments