diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-03-18 17:47:39 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-03-18 17:47:39 +0000 |
commit | a8ad39eec74ff973f6bfe8d84dfd8d2d3ca32913 (patch) | |
tree | 81c3ea9047db20be8c00f6c8386e09af77b1c338 /synapse | |
parent | Better exception handling (diff) | |
download | synapse-a8ad39eec74ff973f6bfe8d84dfd8d2d3ca32913.tar.xz |
lint
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index 3c27686a89..2be0244870 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -230,7 +230,7 @@ class MatrixFederationHttpClient(object): if not try_trailing_slash_on_400: # Received an error >= 300. Raise unless we're retrying raise e - except: + except Exception as e: raise e # Retry with a trailing slash if we received a 400 with |