mirror of https://github.com/yt-dlp/yt-dlp.git
parent
7a0ba75857
commit
e491d06d34
|
@ -1085,7 +1085,7 @@ class ExtractorError(YoutubeDLError):
|
||||||
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