Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: include clockwork plumbing in error reporting #58

Open
brentsnook opened this issue Sep 17, 2019 · 0 comments
Open

Feature request: include clockwork plumbing in error reporting #58

brentsnook opened this issue Sep 17, 2019 · 0 comments

Comments

@brentsnook
Copy link

We recently had problems with our event definitions where an :if proc had the incorrect arity. We only discovered this by eventually finding the clockwork error in the logs. We'd like to be able to configure an error_handler and have it also pick up any errors with event definition.

At the moment only the contents of the event is handled by the error handler:

@block.call(@job, @last)

It would be great if any tests and anything else related to clockwork plumbing were covered by the error handling - moving it out to the manager might be better:

log_error(e)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant