File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
packages/instrumentation-exception/src/node/integrations Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @hyperdx/instrumentation-exception ' : patch
3+ ' @hyperdx/node-opentelemetry ' : patch
4+ ---
5+
6+ fix: rename onuncaughtexception error handler internal tag
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export const onUncaughtExceptionIntegration = defineIntegration(
5858 } ,
5959) ;
6060
61- type ErrorHandler = { _errorHandler : boolean } & ( ( error : Error ) => void ) ;
61+ type ErrorHandler = { _hdxErrorHandler : boolean } & ( ( error : Error ) => void ) ;
6262
6363/** Exported only for tests */
6464export function makeErrorHandler (
@@ -87,7 +87,7 @@ export function makeErrorHandler(
8787 // as soon as we're using domains this listener is attached by node itself
8888 listener . name !== 'domainUncaughtExceptionClear' &&
8989 // the handler we register in this integration
90- ( listener as ErrorHandler ) . _errorHandler !== true
90+ ( listener as ErrorHandler ) . _hdxErrorHandler !== true
9191 ) ;
9292 } ) . length ;
9393
@@ -156,6 +156,6 @@ export function makeErrorHandler(
156156 }
157157 }
158158 } ,
159- { _errorHandler : true } ,
159+ { _hdxErrorHandler : true } ,
160160 ) ;
161161}
You can’t perform that action at this time.
0 commit comments