fix errorf missing argument

This commit is contained in:
Kaspars 2020-02-03 22:17:41 +02:00
parent 166599a2c8
commit 6978171885

View File

@ -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 { 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 continue
} }
} }