mirror of
https://github.com/muety/wakapi.git
synced 2025-12-05 22:20:24 -08:00
fix: various minor logging related fixes
This commit is contained in:
@@ -53,6 +53,8 @@ func (h *LeaderboardHandler) GetIndex(w http.ResponseWriter, r *http.Request) {
|
||||
if h.config.IsDev() {
|
||||
loadTemplates()
|
||||
}
|
||||
|
||||
conf.Log().Request(r).Warn("some testing 7")
|
||||
if err := templates[conf.LeaderboardTemplate].Execute(w, h.buildViewModel(r, w)); err != nil {
|
||||
conf.Log().Request(r).Error("failed to get leaderboard page", "error", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user