We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b523e8e commit 60f611cCopy full SHA for 60f611c
1 file changed
src/tracer.ts
@@ -145,12 +145,12 @@ export default class Tracer {
145
146
extract(format: string, carrier: any): SpanContext {
147
if (!carrier) {
148
- return;
+ return null;
149
}
150
151
const propagator = this._registry._propagators(format);
152
if (!propagator) {
153
- throw new Error('extracttor for the given format is not supported');
+ throw new Error('extractor for the given format is not supported');
154
155
156
return propagator.extract(carrier);
0 commit comments