mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[cleanup, utils] Don't use kwargs for format_field
				
					
				
			This commit is contained in:
		| @@ -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): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan