fix exception text

This commit is contained in:
Richard van der Hoff 2019-01-30 10:14:11 +00:00
parent 928c50b59a
commit 09a1a6b55e
1 changed files with 1 additions and 1 deletions

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)