toniq
toniq copied to clipboard
Add optional `handle_error` function to Toniq.Worker module
In Toniq's current behavior, failed jobs are logged. This PR will maintain that as the default behavior but allow developers implementing logic using the Toniq.Worker module to implement a handle_error(job, error, stack)
function with desired behavior.