Browse Source

En cours de développement

master
losyme 5 months ago
parent
commit
6a301f6df1
  1. 4
      workers/worker.go

4
workers/worker.go

@ -87,6 +87,10 @@ func (w *worker) runJob(job *jw.Job) {
}()
if err := w.runner.Run(job); err != nil {
if w.logger != nil {
w.logger.Error("RUN", "job", job.ID, nil, Err) //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
}
job.Failed().SetError(err.Error())
}
}

Loading…
Cancel
Save