jackfanwan commented on code in PR #11033:
URL: https://github.com/apache/dolphinscheduler/pull/11033#discussion_r933855852


##########
dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertSenderService.java:
##########
@@ -92,6 +99,19 @@ public void send(List<Alert> alerts) {
                 alertDao.updateAlert(AlertStatus.EXECUTION_FAILURE, "no bind 
plugin instance", alertId);
                 continue;
             }
+
+            if (StringUtils.isNotEmpty(alert.getContent())) {

Review Comment:
   > I found the issue is just about email, but if change the content here, 
will take affect to all alert type, it's better to put before the email handle 
content, WDYT?
   
   Thank you for your advice



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to