Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw a template error when attempting to divide by zero #754

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

jmaroeder
Copy link
Contributor

Rather than throwing an uncaught ArithmeticException, this makes Jinjava throw a template error which can be handled like all other Jinjava template errors.

@jmaroeder jmaroeder merged commit 6c5bc70 into master Sep 27, 2021
@jmaroeder jmaroeder deleted the template-error-divide-by-zero branch September 27, 2021 14:47
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.

3 participants