zk error log

This commit is contained in:
Gyu-Ho Lee 2016-05-05 16:17:47 -07:00
parent 7f967f7bae
commit cacd13b0bc
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ func doPutZk(conn *zk.Conn, requests <-chan request, sameKey bool) {
var errStr string
if err != nil {
errStr = err.Error()
fmt.Println("doPutZk err:", err)
log.Println("doPutZk err:", err)
}
results <- result{errStr: errStr, duration: time.Since(st), happened: time.Now()}
bar.Increment()