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
3 changes: 2 additions & 1 deletion proxy/core/work/threadless.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,9 @@ async def _run_once(self) -> bool:
work_id = task._work_id # type: ignore
try:
teardown = task.result()
except Exception:
except Exception as e:
teardown = True
logger.warning('An error occurred (this may be expected): ' + str(e))
finally:
if teardown:
self._cleanup(work_id)
Expand Down