diff --git a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java index f9996a9d9ae5..4c27ae11a446 100644 --- a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java +++ b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java @@ -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