Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@brentsnook
Copy link

At the moment if an :if argument is supplied that has an arity other than one, clockwork will fail late when trying to run the event. This recently cost us a bit of time to troubleshoot.

It would be great to validate as much as possible at startup so clockwork fails fast and problems can be found sooner than when the event is configured to run.

Another approach would be to check the proc arity and only pass the argument if required.

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

Successfully merging this pull request may close these issues.

1 participant