diff --git a/email/worker.go b/email/worker.go index 9e2a0048e5d1ac5dea945b8d2180ae74e904e369..0123fc0b985a08b01daf6d7f1cfcbec18e64dcc3 100644 --- a/email/worker.go +++ b/email/worker.go @@ -180,7 +180,7 @@ panic("Expected [sr.ht]owner-email in config") } addr, err := mail.ParseAddress(smtpFrom) if err != nil { - panic(err) + panic("Invalid [mail]smtp-from: " + err.Error()) } ownerAddr := &mail.Address{ Name: ownerName,