Skip to content
Snippets Groups Projects
Commit a09e09ce authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Merge pull request #2277 from matrix-org/erikj/media

Throw exception when not retrying when downloading media
parents a837765e 48d29494
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,7 @@ class MediaRepository(object):
raise
except NotRetryingDestination:
logger.warn("Not retrying destination %r", server_name)
raise SynapseError(502, "Failed to fetch remote media")
except Exception:
logger.exception("Failed to fetch remote media %s/%s",
server_name, media_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment