diff --git a/mq.go b/mq.go index e0d82de..5e88e2e 100644 --- a/mq.go +++ b/mq.go @@ -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.") } }