Closed rafaeelaudibert closed 2 years ago
In our use case, we want to be able to know which job failed, besides that, an error happened. To support it, we are now also sending the @job instance variable to the handle_error block.
@job
handle_error
Actually, https://github.com/Rykian/clockwork/pull/60 already does it. I'll let us use their implementation because it's simpler and it's been there for a while now.
In our use case, we want to be able to know which job failed, besides that, an error happened. To support it, we are now also sending the
@job
instance variable to thehandle_error
block.