mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
update status when batch fails to create the project
This commit is contained in:
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user