diff --git a/src/pylorax/ltmpl.py b/src/pylorax/ltmpl.py index fdf82ab7..6a0d50c8 100644 --- a/src/pylorax/ltmpl.py +++ b/src/pylorax/ltmpl.py @@ -56,6 +56,7 @@ class LoraxTemplate(object): try: textbuf = template.render(**variables) except: + logger.error("Problem rendering %s (%s):", template_file, variables) logger.error(text_error_template().render()) raise