mosquito-cr / mosquito

A background task runner for crystal applications supporting periodic (CRON) and manually queued jobs
MIT License
227 stars 24 forks source link

Memoize an exception thrown by a job so it can be analyzed in an after-hook? #85

Closed robacarp closed 2 years ago

robacarp commented 2 years ago

For example, if you'd like to send the exception to Honeybadger.

Alternative implementations might be to provide an "around" hook.