mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
remove unreachable except block
This commit is contained in:
parent
fa80b492a5
commit
3869981227
@ -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 New Issue
Block a user