Skip to content
Snippets Groups Projects
Commit 09a1a6b5 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

fix exception text

parent 928c50b5
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment