From 80ed5006d492e226919dd6d9b90225bfe3dd9f4a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 10 Apr 2015 11:01:59 -0700 Subject: [PATCH] Add some more details about template rendering errors --- src/pylorax/ltmpl.py | 1 + 1 file changed, 1 insertion(+) 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