Просмотр исходного кода

notifications: dont return error if one notifer failed

bergquist 7 лет назад
Родитель
Сommit
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 {
-			return err
+			n.log.Error("failed to send notification", "id", not.GetNotifierId())
 		}
 	}