diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-01-30 10:14:11 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-01-30 10:58:52 +0000 |
commit | 09a1a6b55e0d31c3c91370c3605ec9e420ec8d0b (patch) | |
tree | 0a4bf272dce9b462c0ef79124900823b701e4079 /synapse | |
parent | Also jitter the invalid cache period (diff) | |
download | synapse-09a1a6b55e0d31c3c91370c3605ec9e420ec8d0b.tar.xz |
fix exception text
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/http/federation/matrix_federation_agent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/federation/matrix_federation_agent.py b/synapse/http/federation/matrix_federation_agent.py index e4226b5c31..fd298d83f4 100644 --- a/synapse/http/federation/matrix_federation_agent.py +++ b/synapse/http/federation/matrix_federation_agent.py @@ -298,7 +298,7 @@ class MatrixFederationAgent(object): ) body = yield make_deferred_yieldable(readBody(response)) if response.code != 200: - raise Exception("Non-200 response %s", response.code) + raise Exception("Non-200 response %s" % (response.code, )) except Exception as e: logger.info("Error fetching %s: %s", uri_str, e) |