diff --git a/modules/gateway/agent.go b/modules/gateway/agent.go index 157ad1a4c..4400e4d5d 100644 --- a/modules/gateway/agent.go +++ b/modules/gateway/agent.go @@ -82,6 +82,7 @@ locp: break locp } } else { + this.gateway.Errorf("agent:%s uId:%s 秘钥无效 err:%v", this.sessionId, this.uId, err) data, _ := anypb.New(&pb.NotifyErrorNotifyPush{ReqMainType: msg.MainType, ReqSubType: msg.SubType, Code: pb.ErrorCode_SecKeyInvalid, Message: err.Error()}) if err = this.WriteMsg(&pb.UserMessage{ MainType: comm.MainTypeNotify,