Skip to content

Commit 53b941f

Browse files
Update sentry_sdk/integrations/otlp.py
Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
1 parent e461506 commit 53b941f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/otlp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def inject(self, carrier, context=None, setter=default_setter):
119119
if baggage is not None and isinstance(baggage, Baggage):
120120
baggage_data = baggage.serialize()
121121
if baggage_data:
122-
setter.set(carrier, BAGGAGE_HEADER_NAME, baggage.serialize())
122+
setter.set(carrier, BAGGAGE_HEADER_NAME, baggage_data)
123123

124124

125125
def _to_traceparent(span_context):

0 commit comments

Comments
 (0)