pull/8616/head
Erik Johnston 2020-10-27 11:59:40 +00:00
parent 6f736b849c
commit 9d919da7ff
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class SynapseRequest(Request):
elif self.requester is not None:
# This shouldn't happen, but we log it so we don't lose information
# and can see that we're doing something wrong.
authenticated_entity = repr(self.requester)
authenticated_entity = repr(self.requester) # type: ignore[unreachable]
# ...or could be raw utf-8 bytes in the User-Agent header.
# N.B. if you don't do this, the logger explodes cryptically