Sceptre/sceptre

Add more debugging info around Jinja template rendering

alex-harvey-z3q opened this issue · 0 comments

Subject of the issue

In #1321 the case of Jinja template rendering raising hard-to-debug exceptions was made easier to debug by writing debug info to a temp file and providing feedback in debug mode.

In that change, it was missed that Jinja rendering logic is duplicated in the file template handler.

Your environment

  • version of sceptre (sceptre --version) Latest
  • version of python (python --version) All
  • which OS/distro All

Steps to reproduce

Tell us how to reproduce this issue. Please provide sceptre projct files if possible,
you can use https://plnkr.co/edit/ANFHm61Ilt4mQVgF as a base.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead