mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-07 00:52:41 -04:00
Return body of response in HttpResponseException
This commit is contained in:
parent
3737329d9b
commit
9f2573eea1
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue