Skip to content

Commit

Permalink
code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ida613 committed Feb 6, 2025
1 parent 1b0e218 commit afd99de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dd-trace/src/opentracing/propagation/text_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ class TextMapPropagator {
}

_extractBaggageItems (carrier, spanContext) {
if (!carrier) return
if (!spanContext) return
const baggages = carrier.baggage.split(',')
for (const keyValue of baggages) {
if (!keyValue.includes('=')) {
Expand Down

0 comments on commit afd99de

Please sign in to comment.