Skip to content

Commit

Permalink
Add additional fail state logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Feb 24, 2024
1 parent a47b001 commit fe65b4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sam/01-deploy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ module.exports = function deploy (params, callback) {
callback()
}
else if (failStates.includes(StackStatus)) {
update.error(`Bad deployment state found: ${StackStatus}`)
let err = new Error(`Deployment failed`)
callback(err)
}
Expand Down

0 comments on commit fe65b4e

Please sign in to comment.