Skip to content

Commit

Permalink
Fail if the verification from-address can't send
Browse files Browse the repository at this point in the history
gh-281

This applies only if a from-address is provided, but not verified with
AWS.
  • Loading branch information
douglasnaphas committed Mar 5, 2021
1 parent c716583 commit 17a3f87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/madliberation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const stackname = require("@cdk-turnkey/stackname");
if (sesv2Response.err) {
console.log("error: Could not get email identity, tried to get:");
console.log(sesEmailVerificationFromAddress);
process.exit(1);
}

// Check to make sure the domain is DKIM-enabled
Expand Down

0 comments on commit 17a3f87

Please sign in to comment.