@rlyle1179/serverless-aws-batch 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/docker.js +5 -6
- package/package.json +1 -1
package/lib/docker.js
CHANGED
|
@@ -39,13 +39,12 @@ function dockerCommand(options, cwd = null, stdio = null) {
|
|
|
39
39
|
throw new Error('docker not found! Please install it.');
|
|
40
40
|
}
|
|
41
41
|
throw new Error(ps.error);
|
|
42
|
+
} else if (ps.status !== 0) {
|
|
43
|
+
console.error("docker output:", ps.output);
|
|
44
|
+
console.error("docker stdout:", ps.stdout);
|
|
45
|
+
console.error("docker stderr:", ps.stderr)
|
|
46
|
+
//throw new Error(ps.stderr);
|
|
42
47
|
}
|
|
43
|
-
// } else if (ps.status !== 0) {
|
|
44
|
-
// console.error("docker output:", ps.output);
|
|
45
|
-
// console.error("docker stdout:", ps.stdout);
|
|
46
|
-
// console.error("docker stderr:", ps.stderr)
|
|
47
|
-
// throw new Error(ps.stderr);
|
|
48
|
-
// }
|
|
49
48
|
return ps;
|
|
50
49
|
}
|
|
51
50
|
|