mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
fix: preserve original traceback when re-raising exceptions
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user