diff options
author | Erik Johnston <erik@matrix.org> | 2019-06-17 13:54:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-17 13:54:47 +0100 |
commit | 6840ebeef84a2f7c06b71124e8b11b9918e41f2e (patch) | |
tree | 899c96afb7e87564080143074b0603f5c96f8021 /synapse/handlers/groups_local.py | |
parent | Merge pull request #5388 from matrix-org/erikj/fix_email_push (diff) | |
parent | Handle failing to talk to master over replication (diff) | |
download | synapse-6840ebeef84a2f7c06b71124e8b11b9918e41f2e.tar.xz |
Merge pull request #5385 from matrix-org/erikj/reduce_http_exceptions
Handle HttpResponseException when using federation client.
Diffstat (limited to 'synapse/handlers/groups_local.py')
-rw-r--r-- | synapse/handlers/groups_local.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/groups_local.py b/synapse/handlers/groups_local.py index 02c508acec..f60ace02e8 100644 --- a/synapse/handlers/groups_local.py +++ b/synapse/handlers/groups_local.py @@ -49,9 +49,7 @@ def _create_rerouter(func_name): def http_response_errback(failure): failure.trap(HttpResponseException) e = failure.value - if e.code == 403: - raise e.to_synapse_error() - return failure + raise e.to_synapse_error() def request_failed_errback(failure): failure.trap(RequestSendFailed) |