mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 02:13:29 +00:00
lint
This commit is contained in:
1 parent
621e7f37f1
commit
a8ad39eec7
1 file changed
+1
-1
@@ -230,7 +230,7 @@ class MatrixFederationHttpClient(object):
|
|||||||
if not try_trailing_slash_on_400:
|
if not try_trailing_slash_on_400:
|
||||||
# Received an error >= 300. Raise unless we're retrying
|
# Received an error >= 300. Raise unless we're retrying
|
||||||
raise e
|
raise e
|
||||||
except:
|
except Exception as e:
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
# Retry with a trailing slash if we received a 400 with
|
# Retry with a trailing slash if we received a 400 with
|
||||||
|
|||||||
Reference in new issue
Block a user