From 15386ced65985f055c773f6011e3e05447e105d4 Mon Sep 17 00:00:00 2001 From: ryutamaki Date: Thu, 14 Jan 2016 23:28:45 +0900 Subject: [PATCH] Show cloudformation messages when any errors are happning while updating/creating projects --- lib/utils/aws/CloudFormation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/aws/CloudFormation.js b/lib/utils/aws/CloudFormation.js index ad32163e6..83cb8ec6b 100644 --- a/lib/utils/aws/CloudFormation.js +++ b/lib/utils/aws/CloudFormation.js @@ -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(); }