mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use proper logging level for velocity exceptions
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user