diff --git a/test/e2e/shared/suite.go b/test/e2e/shared/suite.go index bd52878487..ac65fad658 100644 --- a/test/e2e/shared/suite.go +++ b/test/e2e/shared/suite.go @@ -140,6 +140,7 @@ func Node1BeforeSuite(e2eCtx *E2EContext) []byte { By(fmt.Sprintf("Trying to create CloudFormation stack... attempt %d", count)) success := true if err := createCloudFormationStack(e2eCtx.AWSSession, bootstrapTemplate, bootstrapTags); err != nil { + By(fmt.Sprintf("Failed to create CloudFormation stack in attempt %d: %s", count, err.Error())) deleteCloudFormationStack(e2eCtx.AWSSession, bootstrapTemplate) success = false }