diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f89cae9e1..cb6a91648c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ For semantic convention package changes, see the [semconv CHANGELOG](packages/se * fix(sdk-trace-base): avoid keeping non-string `status.message` on `Span#setStatus()` [#4999](https://github.com/open-telemetry/opentelemetry-js/pull/4999) @pichlermarc * fix(sdk-metrics): Add missing catch and handle error in promise of `PeriodicExportingMetricReader` [#5006](https://github.com/open-telemetry/opentelemetry-js/pull/5006) @jj22ee +* fix(opentelemetry-core): confusing log extract of composite propagator [#5017](https://github.com/open-telemetry/opentelemetry-js/pull/5017) @rv2673 ### :books: (Refine Doc) diff --git a/packages/opentelemetry-core/src/propagation/composite.ts b/packages/opentelemetry-core/src/propagation/composite.ts index 245507a110..0654dfa031 100644 --- a/packages/opentelemetry-core/src/propagation/composite.ts +++ b/packages/opentelemetry-core/src/propagation/composite.ts @@ -91,7 +91,7 @@ export class CompositePropagator implements TextMapPropagator { return propagator.extract(ctx, carrier, getter); } catch (err) { diag.warn( - `Failed to inject with ${propagator.constructor.name}. Err: ${err.message}` + `Failed to extract with ${propagator.constructor.name}. Err: ${err.message}` ); } return ctx;