From 13ef831eec3ab019fa050ffc9452ea2e5b743243 Mon Sep 17 00:00:00 2001 From: benjobs Date: Sat, 23 Sep 2023 04:38:44 -0500 Subject: [PATCH] [Improve] Alarm minor improvement (#3168) --- .../core/service/alert/impl/EmailAlertNotifyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/alert/impl/EmailAlertNotifyServiceImpl.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/alert/impl/EmailAlertNotifyServiceImpl.java index 9f32ea37e8..b6ee9d7c21 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/alert/impl/EmailAlertNotifyServiceImpl.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/alert/impl/EmailAlertNotifyServiceImpl.java @@ -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)) {