The error message of RunProcessResponse for Java process is not set when the process ended with error
This commit is contained in:
parent
a39d4cfed5
commit
8c47a32a69
|
@ -342,6 +342,7 @@ public class Process {
|
||||||
if (!processOK || pi.isError())
|
if (!processOK || pi.isError())
|
||||||
{
|
{
|
||||||
r.setSummary(pi.getSummary());
|
r.setSummary(pi.getSummary());
|
||||||
|
r.setError(pi.getSummary());
|
||||||
r.setLogInfo(pi.getLogInfo(true));
|
r.setLogInfo(pi.getLogInfo(true));
|
||||||
r.setIsError( true );
|
r.setIsError( true );
|
||||||
processOK = false;
|
processOK = false;
|
||||||
|
@ -349,6 +350,7 @@ public class Process {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
r.setSummary(pi.getSummary());
|
r.setSummary(pi.getSummary());
|
||||||
|
r.setError(pi.getSummary());
|
||||||
r.setLogInfo(pi.getLogInfo(true));
|
r.setLogInfo(pi.getLogInfo(true));
|
||||||
r.setIsError( false );
|
r.setIsError( false );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue