mirror of https://github.com/ansible/ansible.git
Handle TemplateNotFound to render more helpful error message.
At the point the exception is handled, it is likely due to error loading a sub-template included from main template. Besides file not found, it can be caused also by include path failing Jinja2 checks. Now, when rendering the exception from Jinja, it will include exception name. This will give basic context or *what* the error is. Fixes #7103 Fixes #7105pull/7105/merge
parent
52c7d50f1e
commit
f8bf9cdeec
Loading…
Reference in New Issue