mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-05 05:05:19 -05:00
![Richard van der Hoff](/assets/img/avatar_default.png)
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.