Skip to content

Commit

Permalink
Merge pull request #620 from magieno/add-change-sets-cloudformation
Browse files Browse the repository at this point in the history
- Fix compilation
  • Loading branch information
etiennenoel authored Nov 28, 2023
2 parents ab168b1 + 2954bd9 commit 4ed8d22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/aws/src/clients/cloudformation.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class CloudformationClient implements CloudformationClientInterface {
}
return response.Stacks[0];
} catch (e) {
this.logHandler.error("Error getting stack description from cloudformation", {error: e, input}, AwsModuleKeyname);
this.logHandler.error("Error getting stack description from cloudformation", {error: e, stackName}, AwsModuleKeyname);
if (e.message.match("(.*)" + stackName + "(.*)does not exist(.*)")) {
return undefined;
} else {
Expand All @@ -124,7 +124,7 @@ export class CloudformationClient implements CloudformationClientInterface {
const response: DescribeStacksCommandOutput = await this.getClient().send(command);
return response.Stacks ?? [];
} catch (e) {
this.logHandler.error("Error getting stack description from cloudformation", {error: e, input}, AwsModuleKeyname);
this.logHandler.error("Error getting stack description from cloudformation", {error: e}, AwsModuleKeyname);
throw e;
}
}
Expand Down Expand Up @@ -268,7 +268,7 @@ export class CloudformationClient implements CloudformationClientInterface {
this.logHandler.debug("CLOUDFORMATION CLIENT - List Change Sets", {input}, AwsModuleKeyname);
const command = new ListChangeSetsCommand(input)
try {
const response = await this.getClient().send(command);
const response = await this.getClient().send(input);

this.logHandler.debug("CLOUDFORMATION CLIENT - List Change set Response", {input, response}, AwsModuleKeyname)

Expand Down

0 comments on commit 4ed8d22

Please sign in to comment.