mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 15:16:57 +01:00
[YoutubeDL] Revert error_to_str for ExtractorError
This commit is contained in:
parent
c0384f221e
commit
2c74e6fa77
@ -677,7 +677,7 @@ class YoutubeDL(object):
|
|||||||
else:
|
else:
|
||||||
return ie_result
|
return ie_result
|
||||||
except ExtractorError as e: # An error we somewhat expected
|
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
|
break
|
||||||
except MaxDownloadsReached:
|
except MaxDownloadsReached:
|
||||||
raise
|
raise
|
||||||
|
Loading…
Reference in New Issue
Block a user