commit: 53f350c165ab6892d0bbe633637698823555175f
parent f46d31f94870d4afba8d6e45c151b937a4a00898
Author: M.Yasoob Ullah Khalid <yasoob.khld@gmail.com>
Date: Thu, 27 Jun 2013 23:20:08 +0500
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
@@ -474,7 +474,7 @@ class ExtractorError(Exception):
""" 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):
- 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)
self.traceback = tb