Skip to content

Commit

Permalink
skip warning if propagator is baggage (#4866)
Browse files Browse the repository at this point in the history
  • Loading branch information
ida613 authored Nov 13, 2024
1 parent 9794630 commit 36903cc
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 @@ -324,7 +324,7 @@ class TextMapPropagator {
spanContext = this._extractB3MultiContext(carrier)
break
default:
log.warn(`Unknown propagation style: ${extractor}`)
if (extractor !== 'baggage') log.warn(`Unknown propagation style: ${extractor}`)
}

if (this._config.tracePropagationStyle.extract.includes('baggage') && carrier.baggage) {
Expand Down

0 comments on commit 36903cc

Please sign in to comment.