NIHVIVO-1461 When template not found, propagate error message up the call stack
This commit is contained in:
parent
34f042bc87
commit
d030423d9c
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class TemplateProcessingHelper {
|
|||
try {
|
||||
template = config.getTemplate(templateName);
|
||||
} catch (IOException e) {
|
||||
throw new TemplateProcessingException("Cannot find template " + templateName, e);
|
||||
throw new TemplateProcessingException("Cannot find template " + templateName);
|
||||
}
|
||||
return template;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue