diff --git a/subiquitycore/async_helpers.py b/subiquitycore/async_helpers.py index 604e912e..dffe3a1f 100644 --- a/subiquitycore/async_helpers.py +++ b/subiquitycore/async_helpers.py @@ -50,7 +50,7 @@ class SingleInstanceTask: self.task.cancel() try: await self.task - except asyncio.CancelledError: + except BaseException: pass self.task = schedule_task(self.func(*args, **kw))