We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de5da4 commit 9d9568aCopy full SHA for 9d9568a
packages/tracing/src/span.ts
@@ -315,6 +315,8 @@ export class Span implements SpanInterface {
315
public getBaggage(): Baggage | undefined {
316
const existingBaggage = this.transaction && this.transaction.metadata.baggage;
317
318
+ // Only add Sentry baggage items to baggage, if baggage does not exist yet or it is still
319
+ // empty and not yet set immutable
320
const finalBaggage =
321
!existingBaggage || (!isBaggageFrozen(existingBaggage) && isSentryBaggageEmpty(existingBaggage))
322
? this._getBaggageWithSentryValues(existingBaggage)
0 commit comments