High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Fix incorrect error message in tx template preview.
Kailash Nadhd70236c37943
diff --git a/cmd/templates.go b/cmd/templates.goindex ee13a880..9e80771e 100644--- a/cmd/templates.go+++ b/cmd/templates.go@@ -130,8 +130,7 @@ func handlePreviewTemplate(c echo.Context) error {// Render the message.if err := m.Render(dummySubscriber, &tpl); err != nil {- return echo.NewHTTPError(http.StatusBadRequest,- app.i18n.Ts("globals.messages.errorFetching", "name"))+ return echo.NewHTTPError(http.StatusBadRequest, err.Error())}out = m.Body}