Skip to content

Commit

Permalink
Thread has no exitcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Apr 14, 2024
1 parent f2a2e41 commit d6724dc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tomato/daemon/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d6724dc

Please sign in to comment.