Skip to content
Snippets Groups Projects
Commit 9f2573ee authored by Erik Johnston's avatar Erik Johnston
Browse files

Return body of response in HttpResponseException

parent 3737329d
No related branches found
No related tags found
No related merge requests found
...@@ -169,8 +169,9 @@ class MatrixFederationHttpClient(object): ...@@ -169,8 +169,9 @@ class MatrixFederationHttpClient(object):
else: else:
# :'( # :'(
# Update transactions table? # Update transactions table?
body = yield readBody(response)
raise HttpResponseException( raise HttpResponseException(
response.code, response.phrase, response response.code, response.phrase, body
) )
defer.returnValue(response) defer.returnValue(response)
......
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