summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-03-18 17:47:39 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-03-18 17:47:39 +0000
commita8ad39eec74ff973f6bfe8d84dfd8d2d3ca32913 (patch)
tree81c3ea9047db20be8c00f6c8386e09af77b1c338 /synapse/http
parentBetter exception handling (diff)
downloadsynapse-a8ad39eec74ff973f6bfe8d84dfd8d2d3ca32913.tar.xz
lint
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/matrixfederationclient.py2
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