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

4
mq.go
View File

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