From d6724dc5964aff8fb285d3b2c00e4e84d8b59b6c Mon Sep 17 00:00:00 2001 From: Peter Kraus Date: Sun, 14 Apr 2024 09:08:54 +0200 Subject: [PATCH] Thread has no exitcode. --- src/tomato/daemon/job.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/tomato/daemon/job.py b/src/tomato/daemon/job.py index e1fc6db1..e622b80c 100644 --- a/src/tomato/daemon/job.py +++ b/src/tomato/daemon/job.py @@ -528,7 +528,3 @@ def job_main_loop( else: # We'd like to execute this loop exactly once every second time.sleep(1.0 - tN % 1) - logger.debug(f"{[proc.exitcode for proc in threads.values()]}") - for proc in threads.values(): - if proc.exitcode != 0: - return proc.exitcode