mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
[YoutubeDL] Revert error_to_str for ExtractorError
This commit is contained in:
parent
c0384f221e
commit
2c74e6fa77
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ def extract_info(self, url, download=True, ie_key=None, extra_info={},
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue