补充密钥无效的错误日志

This commit is contained in:
liwei1dao 2022-07-28 11:33:01 +08:00
parent 394dfde6b1
commit 2b4e932c6e

View File

@ -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,