Display the original exception from a template syntax error.

This commit is contained in:
j2blake 2011-11-16 22:11:21 +00:00
parent 74f9626b18
commit 02023bb2e1

View file

@ -97,7 +97,7 @@ public class TemplateProcessingHelper {
} else { } else {
msg = "IOException getting template " + templateName; msg = "IOException getting template " + templateName;
} }
throw new TemplateProcessingException(msg); throw new TemplateProcessingException(msg, e);
} }
return template; return template;
} }