update status when batch fails to create the project

This commit is contained in:
Z. Cliffe Schreuders
2018-08-20 23:41:14 +01:00
parent b6d9ed28dd
commit 1a90f1c67f

View File

@@ -219,6 +219,7 @@ def start(options)
project_id = project_path.split('projects/')[1]
else
project_id = "job_#{job_id}"
update_status(db_conn, threadwide_statements, job_id, :error)
Print.err(stderr)
Print.err("Fatal error on job #{job_id}: SecGen crashed before project creation.")
Print.err('Check your scenario file.')