Commit 59ff4e7b authored by vicotor's avatar vicotor

add log

parent b8e2a174
...@@ -115,6 +115,8 @@ func accountExists(address string) bool { ...@@ -115,6 +115,8 @@ func accountExists(address string) bool {
if err != nil { if err != nil {
if err == sql.ErrNoRows { if err == sql.ErrNoRows {
return false return false
} else {
log.Printf("数据库查询错误: %v", err)
} }
return true return true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment