MatrixSynapse/synapse
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
..
api Be more careful which errors we send back over the C-S API 2018-08-01 16:02:38 +01:00
app Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
appservice run isort 2018-07-09 16:09:20 +10:00
config
crypto
events
federation Be more careful which errors we send back over the C-S API 2018-08-01 16:02:38 +01:00
groups
handlers Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
http Be more careful which errors we send back over the C-S API 2018-08-01 16:02:38 +01:00
metrics
module_api
push
replication
rest Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
server_notices
static/client
storage Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
streams
util Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py
server.pyi
state.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
types.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
visibility.py