From e0618e3c82bec6053586cbd6ab2990649996bc38 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 1 Sep 2024 15:47:50 -0500 Subject: [PATCH] Log shoutrrr URL instead of unused "to" var --- beszel/internal/alerts/alerts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beszel/internal/alerts/alerts.go b/beszel/internal/alerts/alerts.go index cb28b2f6..57d8b82e 100644 --- a/beszel/internal/alerts/alerts.go +++ b/beszel/internal/alerts/alerts.go @@ -178,7 +178,7 @@ func (am *AlertManager) sendAlert(message *mailer.Message) { if am.config.NotificationType == "shoutrrr" { err := shoutrrr.Send(am.config.NotificationURL, fmt.Sprintf("%s\n\n%s", message.Subject, message.Text)) if err == nil { - am.app.Logger().Info("Sent shoutrrr alert", "to", message.To, "subj", message.Subject) + am.app.Logger().Info("Sent shoutrrr alert", "to", am.config.NotificationURL, "subj", message.Subject) return }