1
0
Fork 0
mirror of synced 2024-05-29 16:40:06 +12:00

youtubedl_fallback.py: add a fallback exception and log messages

This commit is contained in:
Ali Parlakci 2021-05-05 16:56:34 +03:00
parent 00defe3b87
commit e642ad68d4

View file

@ -37,4 +37,8 @@ class YoutubeDlFallback(BaseFallbackDownloader, Youtube):
except youtube_dl.DownloadError as e:
logger.debug("Submission cannot be downloaded using the youtube-dl fallback downloader")
return False
except Exception as e:
logger.error("Youtube-DL quitted unexpectedly.")
logger.exception(e)
return False
return False