mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
feature(socket) getExec: add lError condition
This commit is contained in:
parent
d602d4878f
commit
519d359b05
1 changed files with 6 additions and 4 deletions
|
|
@ -214,10 +214,12 @@
|
|||
lError = pError || pStderr;
|
||||
|
||||
|
||||
if (!Util.isString(lError))
|
||||
lErrorStr = lError.toString();
|
||||
|
||||
lErrorStr = Util.addNewLine(lErrorStr);
|
||||
if (lError) {
|
||||
if (!Util.isString(lError))
|
||||
lErrorStr = lError.toString();
|
||||
|
||||
lErrorStr = Util.addNewLine(lErrorStr);
|
||||
}
|
||||
|
||||
lExec = {
|
||||
stdout : pStdout,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue