Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 21508d3

Browse files
jaysonsantosThomas Pansino
authored andcommitted
Make sure that pip errors show stdout and stderr
1 parent 647313c commit 21508d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function installRequirements(targetFolder, serverless, options) {
317317
throw res.error;
318318
}
319319
if (res.status !== 0) {
320-
throw new Error(res.stderr);
320+
throw new Error(`STDOUT: ${res.stdout}\n\nSTDERR: ${res.stderr}`);
321321
}
322322
});
323323
// If enabled slimming, delete files in slimPatterns

0 commit comments

Comments
 (0)