From 7e185338900ebdf70576dc364fa71d0b560abcf4 Mon Sep 17 00:00:00 2001 From: "0.618" Date: Sat, 11 May 2024 13:46:14 -0700 Subject: [PATCH] chore: log stackUpdateComplete message with errorDetails --- .../amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js b/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js index 5577b829b26..7a2093d72c3 100644 --- a/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js +++ b/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js @@ -418,7 +418,7 @@ class CloudFormation { if (completeErr) { await this.collectStackErrors(cfnParentStackParams.StackName).then((errorDetails) => { - completeErr.details = errorDetails; + completeErr.message = JSON.stringify(completeErr) + errorDetails; reject(completeErr); }); } else {