oops I forgot to handle an error
This commit is contained in:
parent
3b742103c6
commit
ebac0bc8a6
|
@ -42,6 +42,9 @@ func main() {
|
||||||
app.Logger.Error("Error in template regeneration cache job!", "err", err)
|
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)
|
app.Logger.Info("Started cache regeneration task.", "interval", app.CacheTimer.String(), "id", id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue