Skip to content

Commit 4f8facc

Browse files
Decode headers before creating transaction (#984)
Co-authored-by: Eric <[email protected]>
1 parent 34da1ac commit 4f8facc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/asgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ async def _run_app(self, scope, callback):
130130

131131
if ty in ("http", "websocket"):
132132
transaction = Transaction.continue_from_headers(
133-
dict(scope["headers"]),
133+
self._get_headers(scope),
134134
op="{}.server".format(ty),
135135
)
136136
else:

0 commit comments

Comments
 (0)