qingwli commented on code in PR #14972:
URL: 
https://github.com/apache/dolphinscheduler/pull/14972#discussion_r1339817733


##########
dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-webexteams/src/main/java/org/apache/dolphinscheduler/plugin/alert/webexteams/WebexTeamsSender.java:
##########
@@ -67,16 +68,28 @@ public AlertResult sendWebexTeamsAlter(AlertData alertData) 
{
         alertResult.setStatus("false");
         alertResult.setMessage("send webex teams alert fail.");
 
-        try {
-            send(alertResult, alertData);
-        } catch (Exception e) {
-            log.info("send webex teams alert exception : {}", e.getMessage());
+        for (int i = 0; i < AlertConstants.RETRY_TIMES; i++) {

Review Comment:
   Yes, some good suggestions about this feature? Different plugin maybe have 
some same logic, but not all plugins has this logic



-- 
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