File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/node-core/src/integrations/http Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ import { errorMonitor } from 'node:events';
2020import { getRequestOptions } from '../../utils/outgoingHttpRequest' ;
2121
2222const FULLY_SUPPORTS_HTTP_DIAGNOSTICS_CHANNEL =
23- ( NODE_VERSION . major === 18 && NODE_VERSION . minor >= 7 ) ||
24- NODE_VERSION . major >= 20 ;
23+ ( NODE_VERSION . major === 18 && NODE_VERSION . minor >= 7 ) || NODE_VERSION . major >= 20 ;
2524
2625export type SentryHttpInstrumentationOptions = InstrumentationConfig & {
2726 /**
@@ -170,7 +169,10 @@ export class SentryHttpInstrumentation extends InstrumentationBase<SentryHttpIns
170169 ...options ,
171170 spans : options . createSpansForOutgoingRequests ?? options . spans ,
172171 ignoreOutgoingRequests ( url , request ) {
173- return isTracingSuppressed ( context . active ( ) ) || ! ! options . ignoreOutgoingRequests ?.( url , getRequestOptions ( request as ClientRequest ) ) ;
172+ return (
173+ isTracingSuppressed ( context . active ( ) ) ||
174+ ! ! options . ignoreOutgoingRequests ?.( url , getRequestOptions ( request as ClientRequest ) )
175+ ) ;
174176 } ,
175177 outgoingRequestHook ( span , request ) {
176178 options . outgoingRequestHook ?.( span , request ) ;
You can’t perform that action at this time.
0 commit comments