Don't log the handled exception

This commit is contained in:
tcely 2025-02-03 11:52:25 -05:00 committed by GitHub
parent a8e7299dbe
commit df5746dac4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -353,6 +353,7 @@ def download_media_metadata(media_id):
verbose_name=verbose_name.format(media.key, published_datetime),
remove_existing_tasks=True,
)
log_exception = False
if log_exception:
log.exception(e)
log.debug(str(e))