remove unreachable except block

This commit is contained in:
Matthew Hodgson 2018-01-22 18:42:59 +01:00
parent fa80b492a5
commit 3869981227

View File

@ -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)