diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-08-01 15:04:50 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-08-01 16:02:46 +0100 |
commit | 01e93f48ed3dd78fda45a37733251659af19dde3 (patch) | |
tree | d3ce5dd798f8432c73a116d9e5005aba06f70520 /changelog.d/3570.bugfix | |
parent | Refactor code for turning HttpResponseException into SynapseError (diff) | |
download | synapse-01e93f48ed3dd78fda45a37733251659af19dde3.tar.xz |
Kill off MatrixCodeMessageException
This code brings the SimpleHttpClient into line with the MatrixFederationHttpClient by having it raise HttpResponseExceptions when a request fails (rather than trying to parse for matrix errors and maybe raising MatrixCodeMessageException). Then, whenever we were checking for MatrixCodeMessageException and turning them into SynapseErrors, we now need to check for HttpResponseExceptions and call to_synapse_error.
Diffstat (limited to 'changelog.d/3570.bugfix')
0 files changed, 0 insertions, 0 deletions