Skip to content

Feature request: include clockwork plumbing in error reporting #58

Description

@brentsnook

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions