diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-21 11:41:07 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-21 11:42:49 +0100 |
commit | c2c153dd3b97ec98ec7ef295deeb466d72027a01 (patch) | |
tree | b4d9ed28e26c2a50219370f4fc4a3feb70300ea9 /synapse/federation/transport | |
parent | Newsfile (diff) | |
download | synapse-c2c153dd3b97ec98ec7ef295deeb466d72027a01.tar.xz |
Log more detail when we fail to authenticate request
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r-- | synapse/federation/transport/server.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 33a37d4498..7a993fd1cf 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -261,10 +261,10 @@ class BaseFederationServlet(object): except NoAuthenticationError: origin = None if self.REQUIRE_AUTH: - logger.warn("authenticate_request failed") + logger.warn("authenticate_request failed: missing authentication") raise - except Exception: - logger.warn("authenticate_request failed") + except Exception as e: + logger.warn("authenticate_request failed: %s", e) raise if origin: |