improve debug for msg unidentified
This commit is contained in:
parent
f5e48f3353
commit
e465d3fb54
@ -333,8 +333,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
//log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Message retrieved (%d)\n%s\n", objId, m.Text)
|
||||
rule, err := getMsgParsingRule(m)
|
||||
if err != nil {
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : msgRegex.")
|
||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] :\n Message unidentified (%d)\n%s\n", objId, m.Text)
|
||||
//logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : msgRegex.")
|
||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Message unidentified (%d)\n%s\n", objId, m.Text)
|
||||
} else {
|
||||
err = setObjSubTypeId(objId, rule.MsgTypeID)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId")
|
||||
|
Loading…
Reference in New Issue
Block a user