mirror of
https://github.com/serverless/serverless.git
synced 2026-02-01 16:07:28 +00:00
Show cloudformation messages when any errors are happning while updating/creating projects
This commit is contained in:
parent
712f7f99b8
commit
15386ced65
@ -367,7 +367,7 @@ module.exports = function(config) {
|
||||
if (!stackStatus || validStatuses.indexOf(stackStatus) === -1) {
|
||||
let prefix = createOrUpdate.slice(0,-1);
|
||||
return reject(new SError(
|
||||
`Something went wrong while ${prefix}ing your cloudformation`));
|
||||
`An error occurs while ${prefix}ing your cloudformation. REASON: ${stackData.Stacks[0].StackStatusReason}`));
|
||||
} else {
|
||||
return callback();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user