refactor: log不要一直打印err

main
NorthLan 3 years ago
parent aa2894dd21
commit ddeacc9afc

@ -121,7 +121,7 @@ func (h *MsgToPushHandler) handleDanmaku(data []byte, msgKey string) {
if err == nil { if err == nil {
pbUser.Avatar = rpcUser.User.PAvatar pbUser.Avatar = rpcUser.User.PAvatar
} else { } else {
logger.SLog.Error("rpc获取用户信息失败", err) logger.SLog.Info("rpc获取用户信息失败")
} }
cmdStruct := h.cmdParser.Parse(msgFromMq.Content) cmdStruct := h.cmdParser.Parse(msgFromMq.Content)

Loading…
Cancel
Save