kopia lustrzana https://github.com/c9/core
Propagate err.stdout and err.stderr from localfs.execFile()
rodzic
5c3535f540
commit
d3178c59a6
|
@ -429,6 +429,8 @@ function Worker(vfs) {
|
||||||
};
|
};
|
||||||
if (err.hasOwnProperty("code")) nerr.code = err.code;
|
if (err.hasOwnProperty("code")) nerr.code = err.code;
|
||||||
if (err.hasOwnProperty("message")) nerr.message = err.message;
|
if (err.hasOwnProperty("message")) nerr.message = err.message;
|
||||||
|
if (err.hasOwnProperty("stdout")) nerr.stdout = err.stdout;
|
||||||
|
if (err.hasOwnProperty("stderr")) nerr.stderr = err.stderr;
|
||||||
if (!meta)
|
if (!meta)
|
||||||
return callback(nerr);
|
return callback(nerr);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue