Преглед изворни кода

notifications: dont return error if one notifer failed

bergquist пре 7 година
родитељ
комит
66c56e7bbe
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pkg/services/alerting/notifier.go

+ 1 - 1
pkg/services/alerting/notifier.go

@@ -90,7 +90,7 @@ func (n *notificationService) sendNotifications(evalContext *EvalContext, notifi
 		})
 		})
 
 
 		if err != nil {
 		if err != nil {
-			return err
+			n.log.Error("failed to send notification", "id", not.GetNotifierId())
 		}
 		}
 	}
 	}