move event print before execution

This commit is contained in:
derchris 2018-05-06 01:09:52 +02:00
parent 963f9d9c77
commit 082e55ed19

View file

@ -152,13 +152,13 @@ for event in events:
if args.ids and event['id'] not in args.ids:
continue
event_print(event, "enqueued as "+str(event['id']))
job_id = enqueue_job(event)
if not job_id:
event_print(event, "job was not enqueued successfully, skipping postprocessing")
continue
event_print(event, "enqueued as "+job_id)
event_print(event, "finalizing job")
finalize_job(job_id, event)