mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 00:51:15 +00:00
Changed the error message.
I changed the ExtractorError from ```msg = msg + u'; please report this issue on http://yt-dl.org/bug'``` to ```msg = msg + u'; please report this issue on http://yt-dl.org/bug with the complete output by running the same command with --verbose flag'``` Hopefully this will tell the users to report bugs with the complete output.
This commit is contained in:
parent
f46d31f948
commit
53f350c165
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ def __init__(self, msg, tb=None):
|
||||||
""" tb, if given, is the original traceback (so that it can be printed out). """
|
""" tb, if given, is the original traceback (so that it can be printed out). """
|
||||||
|
|
||||||
if not sys.exc_info()[0] in (compat_urllib_error.URLError, socket.timeout, UnavailableVideoError):
|
if not sys.exc_info()[0] in (compat_urllib_error.URLError, socket.timeout, UnavailableVideoError):
|
||||||
msg = msg + u'; please report this issue on http://yt-dl.org/bug'
|
msg = msg + u'; please report this issue on http://yt-dl.org/bug with the complete output by running the same command with --verbose flag'
|
||||||
super(ExtractorError, self).__init__(msg)
|
super(ExtractorError, self).__init__(msg)
|
||||||
|
|
||||||
self.traceback = tb
|
self.traceback = tb
|
||||||
|
|
Loading…
Reference in a new issue