log cronAdd failures with error log level

This commit is contained in:
Gani Georgiev
2024-07-02 22:54:07 +03:00
parent c7f758a4dd
commit ae2f8a4758
+1 -1
View File
@@ -123,7 +123,7 @@ func cronBinds(app core.App, loader *goja.Runtime, executors *vmsPool) {
}) })
if err != nil { if err != nil {
app.Logger().Debug( app.Logger().Error(
"[cronAdd] failed to execute cron job", "[cronAdd] failed to execute cron job",
slog.String("jobId", jobId), slog.String("jobId", jobId),
slog.String("error", err.Error()), slog.String("error", err.Error()),