mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
add more log to mysql-blog-server
This commit is contained in:
parent
a02892acec
commit
f17923658e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user