catch java.lang.Error too (EA-128261 - NCDFE: WinProcess.<init>)

This commit is contained in:
Sergey Simonchik
2018-09-28 13:51:46 +03:00
parent ff1a94ba41
commit d91bae2fb6
@@ -167,8 +167,8 @@ public class KillableProcessHandler extends OSProcessHandler implements Killable
try {
return new WinProcess(myProcess).sendCtrlC();
}
catch (Exception e) {
LOG.warn("Failed to send Ctrl+C, fallback to default termination: " + getCommandLine(), e);
catch (Error e) {
LOG.error("Failed to send Ctrl+C, fallback to default termination: " + getCommandLine(), e);
}
}
}