mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #483 from ryutamaki/show-cloudformation-messages
Show cloudformation error message
This commit is contained in:
commit
182dc11a80
@ -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