diff --git a/zerver/migrations/0544_copy_avatar_images.py b/zerver/migrations/0544_copy_avatar_images.py index 4d5f98eb85..5769a3798b 100644 --- a/zerver/migrations/0544_copy_avatar_images.py +++ b/zerver/migrations/0544_copy_avatar_images.py @@ -74,6 +74,7 @@ def thumbnail_s3_avatars(users: QuerySet[Any]) -> None: original_bytes = old_data["Body"].read() except Exception: print(f"Failed to fetch {old_base}") + continue avatar_bucket.Object(new_base + ".original").copy_from( CopySource=f"{settings.S3_AVATAR_BUCKET}/{old_base}.original",