From 6978171885d2411c937e171a210c6b3181705a69 Mon Sep 17 00:00:00 2001 From: Kaspars Date: Mon, 3 Feb 2020 22:17:41 +0200 Subject: [PATCH] fix errorf missing argument --- api/email_notification_new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/email_notification_new.go b/api/email_notification_new.go index 32f6020..52c80bf 100644 --- a/api/email_notification_new.go +++ b/api/email_notification_new.go @@ -61,7 +61,7 @@ func emailNotificationModerator(d domain, path string, title string, commenterHe } if err := smtpEmailNotification(m.Email, name, kind, d.Domain, path, commentHex, commenterName, title, html, e.UnsubscribeSecretHex); err != nil { - logger.Errorf("error sending email to %s: %v", m.Email) + logger.Errorf("error sending email to %s: %v", m.Email, err) continue } }