From a22dacda2a6e9a40d1859b1340b9dcd43e7ea2dc Mon Sep 17 00:00:00 2001 From: Justin Lyons Date: Thu, 4 Jan 2024 16:24:00 -0500 Subject: [PATCH] Fix for spitting error out when pip fails --- lib/pip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pip.js b/lib/pip.js index 149c0285..060ce829 100644 --- a/lib/pip.js +++ b/lib/pip.js @@ -423,8 +423,8 @@ async function installRequirements(targetFolder, pluginInstance) { } if (log) { - log.info(`Stdout: ${e.stdoutBuffer}`); - log.info(`Stderr: ${e.stderrBuffer}`); + log.error(`Stdout: ${e.stdoutBuffer}`); + log.error(`Stderr: ${e.stderrBuffer}`); } else { serverless.cli.log(`Stdout: ${e.stdoutBuffer}`); serverless.cli.log(`Stderr: ${e.stderrBuffer}`);