Skip to content

Commit 4f8facc

Browse files
Decode headers before creating transaction (getsentry#984)
Co-authored-by: Eric <info@ericdevries.dev>
1 parent 34da1ac commit 4f8facc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)