summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/mako_templating.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/mako_templating.py b/pyramid/mako_templating.py
index cb8f0b264..9980faf9d 100644
--- a/pyramid/mako_templating.py
+++ b/pyramid/mako_templating.py
@@ -151,7 +151,7 @@ class MakoLookupTemplateRenderer(object):
error=exc_info[1],
traceback=exc_info[2]
)
- raise MakoRenderingException(errtext)
+ raise MakoRenderingException(errtext), None, exc_info[2]
finally:
del exc_info