]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[YoutubeDL] Revert error_to_str for ExtractorError
authorSergey M․ <dstftw@gmail.com>
Sun, 20 Dec 2015 00:35:58 +0000 (06:35 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 20 Dec 2015 00:35:58 +0000 (06:35 +0600)
youtube_dl/YoutubeDL.py

index 1795097ae8ba5faebbbf9efff91b5b70e0132c86..bf05e9340bdfa34be1256ba29098270c7c4ee950 100755 (executable)
@@ -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