mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-03-13 22:49:48 +00:00
Start, stop, monitor jobs from ui working.
This commit is contained in:
5
run.py
5
run.py
@@ -88,7 +88,10 @@ def main():
|
||||
except Exception as e:
|
||||
print_acc(f"Error running job: {e}")
|
||||
jobs_failed += 1
|
||||
job.process[0].on_error(e)
|
||||
try:
|
||||
job.process[0].on_error(e)
|
||||
except Exception as e2:
|
||||
print_acc(f"Error running on_error: {e2}")
|
||||
if not args.recover:
|
||||
print_end_message(jobs_completed, jobs_failed)
|
||||
raise e
|
||||
|
||||
Reference in New Issue
Block a user