log the file name for GeneralHighlightingPass exceptions

This commit is contained in:
peter
2016-06-27 17:16:28 +02:00
parent 67f00195e3
commit 30e2099f47
@@ -338,7 +338,7 @@ public class GeneralHighlightingPass extends ProgressableTextEditorHighlightingP
}
catch (Exception e) {
if (!failed) {
LOG.error(e);
LOG.error("In file: " + myFile.getViewProvider().getVirtualFile(), e);
}
failed = true;
}