Browse Source

[YoutubeDL] Revert error_to_str for ExtractorError

Sergey M․ 9 years ago
parent
commit
2c74e6fa77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/YoutubeDL.py

+ 1 - 1
youtube_dl/YoutubeDL.py

@@ -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