logging formatting problems

This commit is contained in:
Maxim.Medvedev
2012-09-05 11:23:56 +04:00
parent ccab979707
commit 96361e2670
@@ -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;