A feature-rich command-line audio/video downloader
[ie] Always include `id` in request error output (#17068)
HybridDogaf8a3f34370c
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.pyindex 8f5c3a3c64..39c855c4e0 100644--- a/yt_dlp/extractor/common.py+++ b/yt_dlp/extractor/common.py@@ -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 Falsedef _download_webpage_handle(self, url_or_request, video_id, note=None, errnote=None, fatal=True,