Hello,
When calling a service method in velocity, e.g.:
$services.localization.use('document')
(there is a missing parameter here), velocity just returns null.
If we do the same call (with missing parameter) in groovy, we get:
Failed to execute the [groovy] macro. Cause: [Expecting at least 2 arguments, a category class and a Closure]. Click on this message for details.
Is there a way for velocity to raise a similar error?
Thanks in advance for your help,
Best regards,
alex