Procházet zdrojové kódy

notifications: dont return error if one notifer failed

bergquist před 7 roky
rodič
revize
66c56e7bbe
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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())
 		}
 	}