Log test message error
This commit is contained in:
parent
83613dcad0
commit
b420c31d33
|
@ -570,6 +570,7 @@ func handleTestCampaign(c echo.Context) error {
|
||||||
for _, s := range subs {
|
for _, s := range subs {
|
||||||
sub := s
|
sub := s
|
||||||
if err := sendTestMessage(sub, &camp, app); err != nil {
|
if err := sendTestMessage(sub, &camp, app); err != nil {
|
||||||
|
app.log.Printf("error sending test message: %v", err)
|
||||||
return echo.NewHTTPError(http.StatusInternalServerError,
|
return echo.NewHTTPError(http.StatusInternalServerError,
|
||||||
app.i18n.Ts("campaigns.errorSendTest", "error", err.Error()))
|
app.i18n.Ts("campaigns.errorSendTest", "error", err.Error()))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue