We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3467bf commit b8792daCopy full SHA for b8792da
packages/node/src/integrations/http.ts
@@ -277,8 +277,8 @@ function _createWrappedRequestMethodFactory(
277
...scope.getPropagationContext(),
278
};
279
280
- const sentryTraceHeader = requestSpan
281
- ? spanToTraceHeader(requestSpan)
+ const sentryTraceHeader = transaction
+ ? spanToTraceHeader(transaction)
282
: generateSentryTraceHeader(traceId, spanId, sampled);
283
284
const sentryBaggageHeader = dynamicSamplingContextToSentryBaggageHeader(
0 commit comments