From c79a99313d012f1232a05ac98c7316ceaeb3ef42 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 17 May 2019 16:36:52 +0800 Subject: [PATCH] test --- mq.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.") } }