lib/eco/api/session/batch/job.rb in eco-helpers-2.0.13 vs lib/eco/api/session/batch/job.rb in eco-helpers-2.0.14

- old
+ new

@@ -286,13 +286,16 @@ end # launch error_handlers handlers = session.config.error_handlers if status.errors.any? && !handlers.empty? && !error_handler? err_types = status.errors.by_type + logger.debug("(#{self.name}) got these error types: #{err_types.keys}") handlers.each do |handler| if entries = err_types[handler.name] handler_job = subjobs_add("#{self.name} => #{handler.name}", usecase: handler) + logger.debug("Running error handler #{handler.name}") handler.launch(people: people(entries), session: session, options: options, job: handler_job) + logger.debug("Launching job of error handler: #{handler_job.name}") handler_job.launch(simulate: simulate) end end end elsif simulate