mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-07-02 16:28:52 +00:00
[ie] Always include id in request error output (#17068)
Authored by: bashonly, HybridDog Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
785e507ef0
commit
af8a3f3437
@ -922,9 +922,9 @@ class InfoExtractor:
|
||||
|
||||
errmsg = f'{errnote}: {err}'
|
||||
if fatal:
|
||||
raise ExtractorError(errmsg, cause=err)
|
||||
raise ExtractorError(errmsg, cause=err, video_id=video_id)
|
||||
else:
|
||||
self.report_warning(errmsg)
|
||||
self.report_warning(errmsg, video_id=video_id)
|
||||
return False
|
||||
|
||||
def _download_webpage_handle(self, url_or_request, video_id, note=None, errnote=None, fatal=True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user