mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-11 14:18:18 +01:00
parent
7a0ba75857
commit
e491d06d34
@ -1085,7 +1085,7 @@ def __init__(self, msg, tb=None, expected=False, cause=None, video_id=None, ie=N
|
||||
def format_traceback(self):
|
||||
return join_nonempty(
|
||||
self.traceback and ''.join(traceback.format_tb(self.traceback)),
|
||||
self.cause and ''.join(traceback.format_exception(self.cause)[1:]),
|
||||
self.cause and ''.join(traceback.format_exception(None, self.cause, self.cause.__traceback__)[1:]),
|
||||
delim='\n') or None
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user