diff --git a/cmd/web/main.go b/cmd/web/main.go index 9a00aa1..3274396 100644 --- a/cmd/web/main.go +++ b/cmd/web/main.go @@ -42,6 +42,9 @@ func main() { app.Logger.Error("Error in template regeneration cache job!", "err", err) }, }) + if err != nil { + app.Logger.Error("Error setting upscheduler", "err", err) + } app.Logger.Info("Started cache regeneration task.", "interval", app.CacheTimer.String(), "id", id)