mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
parent
7a0ba75857
commit
e491d06d34
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue