diff --git a/_examples/mysql-blog-server/app/handler.go b/_examples/mysql-blog-server/app/handler.go index 6f11f83..aa4228a 100644 --- a/_examples/mysql-blog-server/app/handler.go +++ b/_examples/mysql-blog-server/app/handler.go @@ -108,6 +108,7 @@ SELECT id, title, body, created_at FROM articles ORDER BY created_at DESC; `) if err != nil { + log.Println(err) h.handleErr(w, http.StatusInternalServerError, "failed to load article") return