1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-26 09:36:46 +00:00

[YoutubeDL] Revert error_to_str for ExtractorError

This commit is contained in:
Sergey M․ 2015-12-20 06:35:58 +06:00
parent c0384f221e
commit 2c74e6fa77

View file

@ -677,7 +677,7 @@ class YoutubeDL(object):
else:
return ie_result
except ExtractorError as e: # An error we somewhat expected
self.report_error(error_to_str(e), e.format_traceback())
self.report_error(compat_str(e), e.format_traceback())
break
except MaxDownloadsReached:
raise