You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace generic Exception with a Jinja2 one in kci_raise #1797
The kci_raise helper adds a command to raise an exception in the templates, for example when the variables aren't valid or some issue is detected when rendering the template. It's better to validate the parameters before generating the output, but on the other hand it's better to raise a clear error when there's a problem then render a job definition that can't run and fails later in subtle ways.
We could pick one of the existing Jinja2 exceptions instead, see the documentation:
Activity