transfer: Log when local emoji files are missing.

This commit is contained in:
Alex Vandiver 2024-07-11 18:43:18 +00:00 committed by Tim Abbott
parent fa28e3aa0f
commit f3473defe1
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def _transfer_emoji_to_s3(realm_emoji: RealmEmoji) -> None:
upload_emoji_image(f, realm_emoji.file_name, realm_emoji.author, backend=s3backend)
logging.info("Uploaded emoji file in path %s", emoji_path)
except FileNotFoundError: # nocoverage
pass
logging.error("Emoji %d could not be loaded from local disk", realm_emoji.id)
def transfer_emoji_to_s3(processes: int) -> None: