Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ async def job_failed(exc: BaseException) -> None:
else:
result_str = '' if result is None or not self.log_results else truncate(repr(result))
finally:
del self.job_tasks[job_id]
self.job_tasks.pop(job_id, None)

except (Exception, asyncio.CancelledError) as e:
finished_ms = timestamp_ms()
Expand Down
Loading