mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logging formatting problems
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user