diff --git a/proxy/core/work/threadless.py b/proxy/core/work/threadless.py index e0d722c191..a62f291d99 100644 --- a/proxy/core/work/threadless.py +++ b/proxy/core/work/threadless.py @@ -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)