Display the original exception from a template syntax error.
This commit is contained in:
parent
74f9626b18
commit
02023bb2e1
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ public class TemplateProcessingHelper {
|
|||
} else {
|
||||
msg = "IOException getting template " + templateName;
|
||||
}
|
||||
throw new TemplateProcessingException(msg);
|
||||
throw new TemplateProcessingException(msg, e);
|
||||
}
|
||||
return template;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue