Skip to content
Snippets Groups Projects
Commit 9a35b47e authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Prevent uncaught CancelledError to force an awakening of the Worker

parent 4d716058
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,9 @@ class FlamencoWorker:
if ex is None:
return
if isinstance(ex, asyncio.CancelledError):
return
self._log.error('Unhandled %s running single iteration: %s', type(ex).__name__, ex)
self._log.error('Bluntly going to reschedule another iteration in %d seconds',
UNCAUGHT_EXCEPTION_RETRY_DELAY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment