mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 00:44:21 -05:00
fix exception text
This commit is contained in:
parent
928c50b59a
commit
09a1a6b55e
@ -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 New Issue
Block a user