From b1cf30b4e82f51ec6695e10efde4589979220f09 Mon Sep 17 00:00:00 2001 From: g0ldyy <153996346+g0ldyy@users.noreply.github.com> Date: Sun, 4 Jan 2026 22:08:56 +0100 Subject: [PATCH] fix: preserve original traceback when re-raising exceptions --- comet/services/torrent_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comet/services/torrent_manager.py b/comet/services/torrent_manager.py index c13d025..81353f1 100644 --- a/comet/services/torrent_manager.py +++ b/comet/services/torrent_manager.py @@ -630,7 +630,7 @@ async def _execute_standard_sqlite_insert(rows: list[dict]): if attempt < 4: await asyncio.sleep(0.2 * (attempt + 1)) continue - raise e + raise async def _execute_batched_upsert(query: str, rows):