mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-20 02:24:54 +03:00
remove unreachable except block
This commit is contained in:
parent
fa80b492a5
commit
3869981227
1 changed files with 0 additions and 3 deletions
|
@ -386,9 +386,6 @@ class MediaRepository(object):
|
|||
except NotRetryingDestination:
|
||||
logger.warn("Not retrying destination %r", server_name)
|
||||
raise SynapseError(502, "Failed to fetch remote media")
|
||||
except FederationDeniedError as e:
|
||||
logger.info(e)
|
||||
raise e
|
||||
except Exception:
|
||||
logger.exception("Failed to fetch remote media %s/%s",
|
||||
server_name, media_id)
|
||||
|
|
Loading…
Reference in a new issue