diff --git a/synapse/media/media_repository.py b/synapse/media/media_repository.py index de2ccca8aed7..edf8e82b5046 100644 --- a/synapse/media/media_repository.py +++ b/synapse/media/media_repository.py @@ -298,7 +298,10 @@ async def update_content( user_id=auth_user, ) - await self._generate_thumbnails(None, media_id, media_id, media_type) + try: + await self._generate_thumbnails(None, media_id, media_id, media_type) + except Exception as e: + logger.info("Failed to generate thumbnails: %s", e) @trace async def create_content(