From 570e0aba00dae576edcce33c867b6038a22e847d Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sat, 25 Feb 2023 14:46:43 +0000 Subject: [PATCH] Fix printing of download worker exceptions --- devine/commands/dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/commands/dl.py b/devine/commands/dl.py index f8ab44e..b066815 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -450,7 +450,7 @@ class dl: if e: self.DL_POOL_STOP.set() pool.shutdown(wait=False, cancel_futures=True) - traceback.print_exception(e) + traceback.print_exception(type(e), e, e.__traceback__) self.log.error(f"Download worker threw an unhandled exception: {e!r}") return else: