Ver Fonte

notifications: dont return error if one notifer failed

bergquist há 7 anos atrás
pai
commit
66c56e7bbe
1 ficheiros alterados com 1 adições e 1 exclusões
  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 {
-			return err
+			n.log.Error("failed to send notification", "id", not.GetNotifierId())
 		}
 	}