RodrigoDLopez commented on a change in pull request #5154:
URL: https://github.com/apache/cloudstack/pull/5154#discussion_r657960224



##########
File path: server/src/main/java/com/cloud/alert/AlertManagerImpl.java
##########
@@ -718,6 +718,10 @@ public void sendAlert(AlertType alertType, long 
dataCenterId, Long podId, Long c
         mailProps.setContent(content);
         mailProps.setContentType("text/plain");
 
+        if (recipients == null) {
+            return;

Review comment:
       Could you put a log message stating that the parameter was not set 
correctly?




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

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


Reply via email to