Skip to content

Commit

Permalink
fix(validation): security-config-validator does not throw an error wh…
Browse files Browse the repository at this point in the history
…en there are config errors
  • Loading branch information
awsclemj authored and johnraws committed Jun 20, 2023
1 parent 252563a commit 1eae795
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class SecurityConfigValidator {
this.validateAwsCloudWatchLogGroupsRetention(values, errors);

if (errors.length) {
logger.error(`${SecurityConfig.FILENAME} has ${errors.length} issues:\n${errors.join('\n')}`);
throw new Error(`${SecurityConfig.FILENAME} has ${errors.length} issues:\n${errors.join('\n')}`);
}
}

Expand Down

0 comments on commit 1eae795

Please sign in to comment.