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

provide some exception handling block #34

Open
marc-portier opened this issue Feb 16, 2022 · 0 comments
Open

provide some exception handling block #34

marc-portier opened this issue Feb 16, 2022 · 0 comments
Assignees
Milestone

Comments

@marc-portier
Copy link
Member

investigate creating a try-except like approach to blocks that should be rendered or hidden as a whole depending on all succeeding

without it we need to surround template sections with exhaustive pro-active testing for possible errors through {% if %} ... {% endif %}

see interesting answer at https://stackoverflow.com/questions/21692387/jinja2-exception-handling#answer-58434921
providing some trick to handle block-like exception handling in jinja2

@marc-portier marc-portier changed the title provide some execption handling block provide some exception handling block Feb 16, 2022
@laurianvm laurianvm modified the milestones: 0.2., 0.1. Feb 17, 2022
@marc-portier marc-portier self-assigned this Mar 8, 2022
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

No branches or pull requests

2 participants