From 88d8204bdbdf9b392d4a82d1c48eb6f578285b2a Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Mon, 15 Dec 2025 12:04:23 +0100 Subject: [PATCH] [IMP] attachment_synchronize: catch connection reset error for retry --- attachment_synchronize/models/attachment_queue.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/attachment_synchronize/models/attachment_queue.py b/attachment_synchronize/models/attachment_queue.py index 3b908742dd5..3d6b18bbeae 100644 --- a/attachment_synchronize/models/attachment_queue.py +++ b/attachment_synchronize/models/attachment_queue.py @@ -47,6 +47,11 @@ def _run(self): str(err), seconds=self._timeout_retry_seconds(), ) from err + except ConnectionResetError as err: + raise RetryableJobError( + str(err), + seconds=self._timeout_retry_seconds(), + ) from err return res def _timeout_retry_seconds(self):