Skip to content

Commit

Permalink
[Improve] Alarm minor improvement (#3168)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfboys authored Sep 23, 2023
1 parent 18b5cd8 commit 13ef831
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean doAlert(AlertConfigParams alertConfig, AlertTemplate template)
throws AlertException {
EmailConfig emailConfig =
Optional.ofNullable(EmailConfig.fromSetting())
.orElseThrow(() -> new AlertException("Please configure first mail sender"));
.orElseThrow(() -> new AlertException("Please configure the email sender first"));
String contacts =
alertConfig.getEmailParams() == null ? null : alertConfig.getEmailParams().getContacts();
if (!StringUtils.hasLength(contacts)) {
Expand Down

0 comments on commit 13ef831

Please sign in to comment.