Retry to dump status later after unexpected exception

Closes #14678
This commit is contained in:
Cédric Krier committed 2026-03-16 10:30:54 +01:00
1 parent 145ce8f2f8
commit a88c575fcc
1 file changed
+7 -3
+7 -3
View File
@@ -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)