You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-27 00:20:27 +02:00
log cronAdd failures with error log level
This commit is contained in:
@@ -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()),
|
||||||
|
|||||||
Reference in New Issue
Block a user