[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:
HybridDog 2026-06-28 00:56:10 +02:00 committed by GitHub
parent 785e507ef0
commit af8a3f3437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,