From a88c575fccbc0cfae03d68a9fc88f09d63670934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 16 Mar 2026 10:30:54 +0100 Subject: [PATCH] Retry to dump status later after unexpected exception Closes #14678 --- trytond/trytond/status.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/trytond/trytond/status.py b/trytond/trytond/status.py index 4b243208f3..647f2caf09 100644 --- a/trytond/trytond/status.py +++ b/trytond/trytond/status.py @@ -69,9 +69,13 @@ def dump(path): def dumper(path): while True: - if dump(path): - time.sleep(5) - else: + try: + if dump(path): + time.sleep(5) + else: + time.sleep(60) + except Exception: + logger.exception("status dumper crashed") time.sleep(60)