From ebac0bc8a6e29bcbfbc93141f8bf13014855ef8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Fri, 9 Feb 2024 00:25:17 -0800 Subject: [PATCH] oops I forgot to handle an error --- cmd/web/main.go | 3 +++ 1 file changed, 3 insertions(+) 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)