machinery icon indicating copy to clipboard operation
machinery copied to clipboard

error handler need task signature

Open bastengao opened this issue 4 years ago • 2 comments

Current error handler only have error, but no task signature. Don't know which task failed. It's better to supply task signature for error handler.

worker.SetErrorHandler(func (signature *tasks.Signature, err error) {
  customHandler(err)
})

bastengao avatar Aug 21 '20 06:08 bastengao