|
@@ -570,6 +570,7 @@ func handleTestCampaign(c echo.Context) error {
|
|
|
for _, s := range subs {
|
|
|
sub := s
|
|
|
if err := sendTestMessage(sub, &camp, app); err != nil {
|
|
|
+ app.log.Printf("error sending test message: %v", err)
|
|
|
return echo.NewHTTPError(http.StatusInternalServerError,
|
|
|
app.i18n.Ts("campaigns.errorSendTest", "error", err.Error()))
|
|
|
}
|