mirror of
https://github.com/knadh/listmonk.git
synced 2025-03-01 16:55:26 +08:00
Remove redundant SMTP test error toast on the admin UI.
This commit is contained in:
parent
45f4ae190f
commit
f0a3cbd563
1 changed files with 0 additions and 1 deletions
|
@ -299,7 +299,6 @@ func handleTestSMTPSettings(c echo.Context) error {
|
||||||
m.Subject = app.i18n.T("settings.smtp.testConnection")
|
m.Subject = app.i18n.T("settings.smtp.testConnection")
|
||||||
m.Body = b.Bytes()
|
m.Body = b.Bytes()
|
||||||
if err := msgr.Push(m); err != nil {
|
if err := msgr.Push(m); err != nil {
|
||||||
app.log.Printf("error sending SMTP test (%s): %v", m.Subject, err)
|
|
||||||
return echo.NewHTTPError(http.StatusInternalServerError, err.Error())
|
return echo.NewHTTPError(http.StatusInternalServerError, err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue