diff options
author | Eric Eastwood <erice@element.io> | 2022-09-12 18:18:09 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-09-12 18:18:09 -0500 |
commit | 1e4f918517d46719dec1e4eadc89ca71e06391ba (patch) | |
tree | e0bce4f72a7f44751a542c02ebe9bc9241950e8c | |
parent | Header name has more context (diff) | |
download | synapse-github/madlittlemods/13685-correlate-traces-when-cf-times-out.tar.xz |
Make sure it's a string github/madlittlemods/13685-correlate-traces-when-cf-times-out madlittlemods/13685-correlate-traces-when-cf-times-out
-rw-r--r-- | synapse/api/auth.py | 3 |
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 |