diff --git a/NewLife.Remoting/Clients/ICommandClient.cs b/NewLife.Remoting/Clients/ICommandClient.cs index 8a73263..c53d597 100644 --- a/NewLife.Remoting/Clients/ICommandClient.cs +++ b/NewLife.Remoting/Clients/ICommandClient.cs @@ -163,6 +163,7 @@ public static async Task ExecuteCommand(this ICommandClient c if (d is Func func32) return func32(model.Argument); //if (d is Func func33) return func33(model.Argument); - return null; + //return null; + throw new ApiException(ApiCode.InternalServerError, $"服务[{model.Command}]的签名[{d}]不正确"); } } \ No newline at end of file