oops I forgot to handle an error

This commit is contained in:
Lilian Jónsdóttir 2024-02-09 00:25:17 -08:00
parent 3b742103c6
commit ebac0bc8a6

View file

@ -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)