1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-18 21:57:50 +02:00

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

View File

@ -123,7 +123,7 @@ func cronBinds(app core.App, loader *goja.Runtime, executors *vmsPool) {
})
if err != nil {
app.Logger().Debug(
app.Logger().Error(
"[cronAdd] failed to execute cron job",
slog.String("jobId", jobId),
slog.String("error", err.Error()),