mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-12 17:42:11 -04:00
lint
This commit is contained in:
parent
621e7f37f1
commit
a8ad39eec7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue