IDEA-121370 Failed Gradle task doesn't block the dependent run configurations

This commit is contained in:
Vladislav.Soroka
2014-06-04 16:49:49 +04:00
parent 89f50186d4
commit a109c223e4
@@ -215,7 +215,7 @@ public class ExternalSystemRunConfiguration extends LocatableConfigurationBase {
String exceptionMessage = ExceptionUtil.getMessage(e);
String text = exceptionMessage == null ? e.toString() : exceptionMessage;
processHandler.notifyTextAvailable(text + '\n', ProcessOutputTypes.STDERR);
processHandler.notifyProcessTerminated(0);
processHandler.notifyProcessTerminated(1);
}
@Override