mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 14:20:23 +00:00
Make sure it's a string
This commit is contained in:
parent
8aa4be5225
commit
1e4f918517
1 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,8 @@ class Auth:
|
||||||
headers = request.requestHeaders.getRawHeaders(header_name)
|
headers = request.requestHeaders.getRawHeaders(header_name)
|
||||||
if headers is not None:
|
if headers is not None:
|
||||||
parent_span.set_tag(
|
parent_span.set_tag(
|
||||||
SynapseTags.REQUEST_HEADER_PREFIX + header_name, headers[0]
|
SynapseTags.REQUEST_HEADER_PREFIX + header_name,
|
||||||
|
str(headers[0]),
|
||||||
)
|
)
|
||||||
|
|
||||||
return requester
|
return requester
|
||||||
|
|
Loading…
Reference in a new issue