Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennenoel committed Oct 18, 2023
1 parent 3b3b02a commit 0c57d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws/src/clients/cloudformation.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class CloudformationClient implements CloudformationClientInterface {
return response.Stacks[0];
} catch (e) {
this.logHandler.error("Error getting stack description from cloudformation", {error: e}, AwsModuleKeyname);
if (e.getMessage().matches("(.*)" + stackName + "(.*)does not exist(.*)")) {
if (e.message.matches("(.*)" + stackName + "(.*)does not exist(.*)")) {
return undefined;
} else {
throw e;
Expand Down

0 comments on commit 0c57d0f

Please sign in to comment.