mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 14:26:49 +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):
|
def format_traceback(self):
|
||||||
return join_nonempty(
|
return join_nonempty(
|
||||||
self.traceback and ''.join(traceback.format_tb(self.traceback)),
|
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
|
delim='\n') or None
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user