File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -504,10 +504,8 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
504
504
// For now the decision is to skip normalization of Transactions and Spans,
505
505
// so this block overwrites the normalized event to add back the original
506
506
// Transaction information prior to normalization.
507
- if ( event . contexts && event . contexts . trace ) {
508
- normalized . contexts = { } ;
507
+ if ( event . contexts && event . contexts . trace && normalized . contexts ) {
509
508
normalized . contexts . trace = event . contexts . trace ;
510
- normalized . contexts . baggage = event . contexts . baggage ;
511
509
512
510
// event.contexts.trace.data may contain circular/dangerous data so we need to normalize it
513
511
if ( event . contexts . trace . data ) {
You can’t perform that action at this time.
0 commit comments