Skip to content

Commit e23ab9e

Browse files
committed
test: Investigate issue on CI
1 parent 1e6e587 commit e23ab9e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/pip.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,9 @@ async function installRequirements(targetFolder, pluginInstance) {
415415

416416
if (cmd === 'docker' && e.stderrBuffer) {
417417
throw new pluginInstance.serverless.classes.Error(
418-
`Running ${cmd} failed with: "${e.stderrBuffer.toString().trim()}"`,
418+
`Running "${cmd} ${args.join(' ')}" failed with: "${e.stderrBuffer
419+
.toString()
420+
.trim()}"`,
419421
'PYTHON_REQUIREMENTS_DOCKER_COMMAND_FAILED'
420422
);
421423
}

test.js

+1
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ test(
216216
dockerImage: 'break the build to log the command',
217217
},
218218
});
219+
console.log('STDOUT', stdout);
219220
t.true(
220221
stdout.includes(
221222
`-v ${__dirname}${sep}tests${sep}base${sep}custom_ssh:/root/.ssh/custom_ssh:z`

0 commit comments

Comments
 (0)