This is an automated email from the ASF dual-hosted git repository. benjobs pushed a commit to branch email in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
commit 143f08591241ae8202d6da4098e667633e4577f6 Author: benjobs <[email protected]> AuthorDate: Sat Sep 23 17:34:54 2023 +0800 [Improve] alerm minor improvement --- .../console/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 9f32ea37e..b6ee9d7c2 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 class EmailAlertNotifyServiceImpl implements AlertNotifyService { 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)) {
