mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 05:26:37 +00:00
Don't log the handled exception
This commit is contained in:
parent
a8e7299dbe
commit
df5746dac4
@ -353,6 +353,7 @@ def download_media_metadata(media_id):
|
|||||||
verbose_name=verbose_name.format(media.key, published_datetime),
|
verbose_name=verbose_name.format(media.key, published_datetime),
|
||||||
remove_existing_tasks=True,
|
remove_existing_tasks=True,
|
||||||
)
|
)
|
||||||
|
log_exception = False
|
||||||
if log_exception:
|
if log_exception:
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
log.debug(str(e))
|
log.debug(str(e))
|
||||||
|
Loading…
Reference in New Issue
Block a user