This commit is contained in:
meixiongfeng 2022-09-28 21:13:14 +08:00
commit 6d099c13ca

View File

@ -270,8 +270,8 @@ func (this *Agent) messageDistribution(msg *pb.UserMessage) (err error) {
if err = this.gateway.Service().RpcCall(context.Background(), servicePath, string(comm.Rpc_GatewayRoute), req, reply); err != nil {
this.gateway.Error("[UserResponse]",
log.Field{Key: "uid", Value: this.uId},
log.Field{Key: "req", Value: req},
log.Field{Key: "err", Value: err},
log.Field{Key: "req", Value: req.String()},
log.Field{Key: "err", Value: err.Error()},
)
return
}
@ -280,7 +280,7 @@ func (this *Agent) messageDistribution(msg *pb.UserMessage) (err error) {
this.gateway.Error("[UserResponse]",
log.Field{Key: "uid", Value: this.uId},
log.Field{Key: "req", Value: req.String()},
log.Field{Key: "err", Value: err},
log.Field{Key: "err", Value: err.Error()},
)
return
}