mirror of
https://github.com/element-hq/synapse
synced 2024-08-18 23:50:52 +00:00
fix exception text
This commit is contained in:
parent
928c50b59a
commit
09a1a6b55e
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ class MatrixFederationAgent(object):
|
||||||
)
|
)
|
||||||
body = yield make_deferred_yieldable(readBody(response))
|
body = yield make_deferred_yieldable(readBody(response))
|
||||||
if response.code != 200:
|
if response.code != 200:
|
||||||
raise Exception("Non-200 response %s", response.code)
|
raise Exception("Non-200 response %s" % (response.code, ))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.info("Error fetching %s: %s", uri_str, e)
|
logger.info("Error fetching %s: %s", uri_str, e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue