diff --git a/services/comp_gateroute.go b/services/comp_gateroute.go index f665837e1..e4b2bef9e 100644 --- a/services/comp_gateroute.go +++ b/services/comp_gateroute.go @@ -80,6 +80,7 @@ func (this *SComp_GateRouteComp) ReceiveMsg(ctx context.Context, args *pb.AgentM msghandle.fn.Func.Call([]reflect.Value{msghandle.rcvr, reflect.ValueOf(ctx), reflect.ValueOf(session), reflect.ValueOf(msg)}) } else { reply.Code = int32(core.ErrorCode_ReqParameterError) + reply.Msg = core.GetErrorCodeMsg(core.ErrorCode_ReqParameterError) } return nil }