diff options
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r-- | yt_dlp/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index 4a519e4e0..ea5bb3459 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -1038,10 +1038,10 @@ class ExtractorError(YoutubeDLError): self.exc_info = sys.exc_info() # preserve original exception super().__init__(''.join(( - format_field(ie, template='[%s] '), - format_field(video_id, template='%s: '), + format_field(ie, None, '[%s] '), + format_field(video_id, None, '%s: '), msg, - format_field(cause, template=' (caused by %r)'), + format_field(cause, None, ' (caused by %r)'), '' if expected else bug_reports_message()))) def format_traceback(self): |