This commit is contained in:
shoopea 2019-05-17 16:36:52 +08:00
parent 4fe2eb5b37
commit c79a99313d

2
mq.go
View File

@ -42,11 +42,9 @@ func MQSendMsgWorker(id int, msgs <-chan ChatWarsMessage) {
ContentType: "application/json",
Body: []byte(b),
})
if err != nil {
logOnError(err, "MQSendMsgWorker["+strconv.Itoa(id)+"] : Publishing message.")
}
}
}
log.Printf("MQSendMsgWorker[" + strconv.Itoa(id) + "] : Closing.")