synapse-product/synapse/federation
Richard van der Hoff fa7dc889f1 Be more careful which errors we send back over the C-S API
We really shouldn't be sending all CodeMessageExceptions back over the C-S API;
it will include things like 401s which we shouldn't proxy.

That means that we need to explicitly turn a few HttpResponseExceptions into
SynapseErrors in the federation layer.

The effect of the latter is that the matrix errcode will get passed through
correctly to calling clients, which might help with some of the random
M_UNKNOWN errors when trying to join rooms.
2018-08-01 16:02:38 +01:00
..
transport Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
__init__.py Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py rename assert_params_in_request to assert_params_in_dict 2018-07-13 21:53:01 +02:00
federation_client.py Be more careful which errors we send back over the C-S API 2018-08-01 16:02:38 +01:00
federation_server.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00
persistence.py run isort 2018-07-09 16:09:20 +10:00
send_queue.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00
transaction_queue.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00
units.py Remove pdu_failures from transactions 2018-07-30 16:28:47 -06:00