debug
This commit is contained in:
parent
36aef03b87
commit
38578a52bb
@ -314,6 +314,8 @@ func SQLCWMsgWorker(id int, msgs <-chan ChatWarsMessage, objIds chan<- int64) {
|
|||||||
if err == nil && objId != 0 {
|
if err == nil && objId != 0 {
|
||||||
// log.Printf("SQLCWMsgWorker["+strconv.Itoa(id)+"] : Message inserted (%d).\n", objId)
|
// log.Printf("SQLCWMsgWorker["+strconv.Itoa(id)+"] : Message inserted (%d).\n", objId)
|
||||||
objIds <- objId
|
objIds <- objId
|
||||||
|
} else {
|
||||||
|
log.Printf("SQLCWMsgWorker["+strconv.Itoa(id)+"] : Message in error\n%s\n", m.Text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user