3d3ed6eeb0
The display_name method is used by delayed job to log information about a certain job, including failure messages. Whenever a job class is moved or deleted, the instances still scheduled cannot be constantized anymore, causing display_name and hence the log method to raise an exception. In certain cases, e.g. when logging happens in a rescue block, this may terminate the entire delayed job worker. With the failsafe method, the worker handles failed jobs gracefully and continues work, all with appropriate log output. |
||
---|---|---|
.. | ||
adapters | ||
cases | ||
integration | ||
jobs | ||
models | ||
support | ||
helper.rb |