The error message of RunProcessResponse for Java process is not set when the process ended with error

This commit is contained in:
Elaine Tan 2013-04-26 18:34:33 +08:00
parent a39d4cfed5
commit 8c47a32a69
1 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,7 @@ public class Process {
if (!processOK || pi.isError())
{
r.setSummary(pi.getSummary());
r.setError(pi.getSummary());
r.setLogInfo(pi.getLogInfo(true));
r.setIsError( true );
processOK = false;
@ -349,6 +350,7 @@ public class Process {
else
{
r.setSummary(pi.getSummary());
r.setError(pi.getSummary());
r.setLogInfo(pi.getLogInfo(true));
r.setIsError( false );
}