Log why gb entries weren't loaded on a gb page.
This commit is contained in:
parent
9d84411d73
commit
0b60297031
@ -124,6 +124,7 @@ func (h *Handlers) Guestbook(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
entries, err := h.guestbookDB.Entries(page, pageSize)
|
||||
if err != nil {
|
||||
log.Println("failed to load gb entries:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user