From 96361e26703e55d09a4c69df04fe8eb2aa1bbbef Mon Sep 17 00:00:00 2001 From: "Maxim.Medvedev" Date: Tue, 4 Sep 2012 15:16:52 +0400 Subject: [PATCH] logging formatting problems --- .../org/jetbrains/plugins/groovy/formatter/GroovyBlock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/formatter/GroovyBlock.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/formatter/GroovyBlock.java index 674675accbb7..2ca6d2f52539 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/formatter/GroovyBlock.java +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/formatter/GroovyBlock.java @@ -114,11 +114,11 @@ public class GroovyBlock implements Block, GroovyElementTypes, ASTBlock { } catch (AssertionError e) { final PsiFile file = myNode.getPsi().getContainingFile(); - LogMessageEx.error(LOG, "Formatting failed for file " + file.getName(), file.getText(), myNode.getText()); + LogMessageEx.error(LOG, "Formatting failed for file " + file.getName(), e, file.getText(), myNode.getText()); } catch (RuntimeException e) { final PsiFile file = myNode.getPsi().getContainingFile(); - LogMessageEx.error(LOG, "Formatting failed for file " + file.getName(), file.getText(), myNode.getText()); + LogMessageEx.error(LOG, "Formatting failed for file " + file.getName(), e, file.getText(), myNode.getText()); } } return mySubBlocks;