Skip to content

Commit 668c276

Browse files
committed
fix lint
1 parent 4c6e295 commit 668c276

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/opentelemetry/src/propagator.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -264,16 +264,6 @@ function getExistingBaggage(carrier: unknown): string | undefined {
264264
}
265265
}
266266

267-
/** Try to get the existing sentry-trace header so we can merge this in. */
268-
function getExistingSentryTrace(carrier: unknown): string | undefined {
269-
try {
270-
const sentryTrace = (carrier as Record<string, string | string[]>)[SENTRY_TRACE_HEADER];
271-
return Array.isArray(sentryTrace) ? sentryTrace.join(',') : sentryTrace;
272-
} catch {
273-
return undefined;
274-
}
275-
}
276-
277267
/**
278268
* It is pretty tricky to get access to the outgoing request URL of a request in the propagator.
279269
* As we only have access to the context of the span to be sent and the carrier (=headers),

0 commit comments

Comments
 (0)