From 1ae4c37cb9351828b2d1687f5c59c9407c11fb1f Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Sun, 30 Oct 2022 21:25:34 +0100 Subject: [PATCH] Don't do fancy, just re-raise it --- core/base/libs/podop/podop/dovecot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base/libs/podop/podop/dovecot.py b/core/base/libs/podop/podop/dovecot.py index 6dc25af5..fcf01fab 100644 --- a/core/base/libs/podop/podop/dovecot.py +++ b/core/base/libs/podop/podop/dovecot.py @@ -123,9 +123,9 @@ class DictProtocol(asyncio.Protocol): except KeyError: return await self.reply(b"F") except Exception as e: - logging.error(f"Got {e}, cancelling remaining tasks") for task in rows: task.cancel() + raise e def process_begin(self, transaction_id, user=None): """ Process a dict begin message