summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-09-12 18:18:09 -0500
committerEric Eastwood <erice@element.io>2022-09-12 18:18:09 -0500
commit1e4f918517d46719dec1e4eadc89ca71e06391ba (patch)
treee0bce4f72a7f44751a542c02ebe9bc9241950e8c
parentHeader name has more context (diff)
downloadsynapse-madlittlemods/13685-correlate-traces-when-cf-times-out.tar.xz
-rw-r--r--synapse/api/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 8737e1e95f..09ebd847a5 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -184,7 +184,8 @@ class Auth:
                     headers = request.requestHeaders.getRawHeaders(header_name)
                     if headers is not None:
                         parent_span.set_tag(
-                            SynapseTags.REQUEST_HEADER_PREFIX + header_name, headers[0]
+                            SynapseTags.REQUEST_HEADER_PREFIX + header_name,
+                            str(headers[0]),
                         )
 
             return requester