mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[coverage] Rethrow control-flow exception
GitOrigin-RevId: bbb1564b1bab7360fb72ed91d9578ebb3bfd4774
This commit is contained in:
committed by
intellij-monorepo-bot
parent
21d80258a3
commit
b9d5eb6f8e
@@ -28,6 +28,7 @@ import com.intellij.openapi.actionSystem.DataContext;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.application.ReadAction;
|
||||
import com.intellij.openapi.application.WriteAction;
|
||||
import com.intellij.openapi.diagnostic.ControlFlowException;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
import com.intellij.openapi.module.Module;
|
||||
@@ -395,6 +396,7 @@ public class JavaCoverageEngine extends CoverageEngine {
|
||||
SourceLineCounterUtil.collectSrcLinesForUntouchedFiles(uncoveredLines, content, suite.getProject());
|
||||
}
|
||||
catch (Exception e) {
|
||||
if (e instanceof ControlFlowException) throw e;
|
||||
LOG.error("Fail to process class from: " + classFile.getPath(), e);
|
||||
}
|
||||
return uncoveredLines;
|
||||
|
||||
Reference in New Issue
Block a user