samsondav / rihanna

Rihanna is a high performance postgres-backed job queue for Elixir
MIT License
439 stars 47 forks source link

Add optional callback to jobs which defines what to do on error of job #24

Closed sadir closed 6 years ago

sadir commented 6 years ago

This runs for all three types of errors (tuple, atom or raised error) but only runs for jobs which follow the behaviour rather than custom jobs.

sadir commented 6 years ago

I'll bump the version as well if you're happy with the changes

samsondav commented 6 years ago

Ooh! remember to say in your commit that it closes https://github.com/samphilipd/rihanna/issues/15