use proper logging level for velocity exceptions

This commit is contained in:
Eugene Zhuravlev
2011-12-06 15:48:49 +01:00
parent 8d682ac1a0
commit a49bf3f129
@@ -230,7 +230,7 @@ public class FileTemplateUtil{
Velocity.evaluate(context, stringWriter, "", templateContent);
}
catch (final VelocityException e) {
LOG.error("Error evaluating template:\n"+templateContent,e);
LOG.info("Error evaluating template:\n"+templateContent,e);
ApplicationManager.getApplication().invokeLater(new Runnable() {
public void run() {
Messages.showErrorDialog(IdeBundle.message("error.parsing.file.template", e.getMessage()),