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.
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.