youtubedl_fallback.py: add a fallback exception and log messages
This commit is contained in:
@@ -37,4 +37,8 @@ class YoutubeDlFallback(BaseFallbackDownloader, Youtube):
|
|||||||
except youtube_dl.DownloadError as e:
|
except youtube_dl.DownloadError as e:
|
||||||
logger.debug("Submission cannot be downloaded using the youtube-dl fallback downloader")
|
logger.debug("Submission cannot be downloaded using the youtube-dl fallback downloader")
|
||||||
return False
|
return False
|
||||||
|
except Exception as e:
|
||||||
|
logger.error("Youtube-DL quitted unexpectedly.")
|
||||||
|
logger.exception(e)
|
||||||
|
return False
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user