You can add your own error handling to jobs by using the post-processing function spooler_task_after() from the API.

  • Download and extract to a temporary folder
  • Copy all files to config/live. Note that this is an example and you could add more parameters for the error handling job.
  • Add the post-processing to each job. The post-processing will add an order to an error handling job chain each time, a job terminates with an exit code not equal 0. Some additional information such as the job name is added to this order and can be used in the error handling job chain.