mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
FunctionRuneLambdaNodejs: show error stack
This commit is contained in:
parent
ec85670cdb
commit
2bcb7f3b14
@ -70,6 +70,7 @@ module.exports = function(SPlugin, serverlessPath) {
|
||||
if (err) {
|
||||
SCli.log(chalk.bold('Failed - This Error Was Returned:'));
|
||||
SCli.log(err.message);
|
||||
SCli.log(err.stack);
|
||||
evt.result.status = 'error';
|
||||
evt.result.response = err.message;
|
||||
return resolve(evt);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user