summary refs log tree commit diff
diff options
context:
space:
mode:
-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