diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-14 13:36:06 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-14 14:15:37 +0000 |
commit | 1d09586599a495e01bfb6b887b1a59419673600a (patch) | |
tree | ade906efdb9031b4f83ebf0c487bd6929388bb48 /synapse/api | |
parent | re-refactor exception heirarchy (diff) | |
download | synapse-1d09586599a495e01bfb6b887b1a59419673600a.tar.xz |
Address review comments
- don't blindly proxy all HTTPRequestExceptions - log unexpected exceptions at error - avoid `isinstance` - improve docs on `from_http_response_exception`
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/errors.py | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py |