mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 08:02:54 +08:00
Remove superfluous error messages
This commit is contained in:
parent
ecf6f49f7e
commit
ceca62c566
@ -3137,9 +3137,9 @@ class GenericIE(InfoExtractor):
|
||||
info = self._parse_jwplayer_data(
|
||||
jwplayer_data, video_id, require_title=False, base_url=url)
|
||||
return merge_dicts(info, info_dict)
|
||||
except ExtractorError as e:
|
||||
self.to_screen(e.msg_without_bug_report)
|
||||
self.to_screen("Trying different extractor")
|
||||
except ExtractorError:
|
||||
# If there is an error, try a different extractor
|
||||
pass
|
||||
|
||||
# Video.js embed
|
||||
mobj = re.search(
|
||||
|
@ -748,7 +748,6 @@ class ExtractorError(YoutubeDLError):
|
||||
msg = video_id + ': ' + msg
|
||||
if cause:
|
||||
msg += ' (caused by %r)' % cause
|
||||
self.msg_without_bug_report = msg
|
||||
if not expected:
|
||||
msg += bug_reports_message()
|
||||
super(ExtractorError, self).__init__(msg)
|
||||
|
Loading…
Reference in New Issue
Block a user