Skip to content

Commit 36903cc

Browse files
authored
skip warning if propagator is baggage (#4866)
1 parent 9794630 commit 36903cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/dd-trace/src/opentracing/propagation

packages/dd-trace/src/opentracing/propagation/text_map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ class TextMapPropagator {
324324
spanContext = this._extractB3MultiContext(carrier)
325325
break
326326
default:
327-
log.warn(`Unknown propagation style: ${extractor}`)
327+
if (extractor !== 'baggage') log.warn(`Unknown propagation style: ${extractor}`)
328328
}
329329

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

0 commit comments

Comments
 (0)