more diagnostic

This commit is contained in:
Dmitry Batkovich
2018-10-10 12:07:34 +03:00
parent 4789c451ab
commit 1f0e3c90d4
@@ -144,7 +144,12 @@ public class InspectionResultExportTest extends LightJava9ModulesCodeInsightFixt
return JDOMUtil.loadDocument(file);
}
catch (IOException | JDOMException e) {
throw new AssertionError(e);
String content = null;
try {
content = FileUtil.loadFile(file);
}
catch (IOException ignored) {}
throw new AssertionError("cannot parse: " + content, e);
}
}