0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 16:03:50 +01:00

fix exception text

This commit is contained in:
Richard van der Hoff 2019-01-30 10:14:11 +00:00
parent 928c50b59a
commit 09a1a6b55e

View file

@ -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)