test
parent
6bbbd166ad
commit
baff117be0
|
|
@ -507,10 +507,10 @@ class RemoteClientSystem {
|
|||
output += outputChunk;
|
||||
});
|
||||
child.on('close', function (code) {
|
||||
cloud_runner_logger_1.default.logRemoteCli(`[exit ${code}]`);
|
||||
if (code !== 0) {
|
||||
throw new Error(`[exit code ${code}] Output Ended`);
|
||||
throw new Error(output);
|
||||
}
|
||||
cloud_runner_logger_1.default.logRemoteCli(`[exit code 0] Output Ended`);
|
||||
promise(output);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -19,10 +19,10 @@ export class RemoteClientSystem {
|
|||
output += outputChunk;
|
||||
});
|
||||
child.on('close', function (code) {
|
||||
CloudRunnerLogger.logRemoteCli(`[exit ${code}]`);
|
||||
if (code !== 0) {
|
||||
throw new Error(`[exit code ${code}] Output Ended`);
|
||||
throw new Error(output);
|
||||
}
|
||||
CloudRunnerLogger.logRemoteCli(`[exit code 0] Output Ended`);
|
||||
promise(output);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue