From 7a3c3d7939e4f2b4e5ecb5dd028f163a9ac6281e Mon Sep 17 00:00:00 2001 From: charles-chenzz <73322208+charles-chenzz@users.noreply.github.com> Date: Fri, 15 Sep 2023 13:11:10 +0800 Subject: [PATCH] internal/msgtransfer: fix unreachable code issue (#1078) --- internal/msgtransfer/persistent_msg_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/msgtransfer/persistent_msg_handler.go b/internal/msgtransfer/persistent_msg_handler.go index d1f27f48f..d105de2fe 100644 --- a/internal/msgtransfer/persistent_msg_handler.go +++ b/internal/msgtransfer/persistent_msg_handler.go @@ -60,7 +60,7 @@ func (pc *PersistentConsumerHandler) handleChatWs2Mysql( log.ZError(ctx, "msg_transfer Unmarshal msg err", err) return } - return + log.ZDebug(ctx, "handleChatWs2Mysql", "msg", msgFromMQ.MsgData) // Control whether to store history messages (mysql) isPersist := utils.GetSwitchFromOptions(msgFromMQ.MsgData.Options, constant.IsPersistent)