优化驱动错误提示

This commit is contained in:
iioter 2022-07-18 23:04:54 +08:00
parent 1b887c68b7
commit 8e33a90f97

View File

@ -524,7 +524,7 @@ namespace DriverModbusMaster
}
catch (Exception ex)
{
rpcResponse.Description = $"写入失败:{Method},{Ioarg}";
rpcResponse.Description = $"写入失败,[Method]:{Method},[Ioarg]:{Ioarg},[ex]:{ex}";
}
return rpcResponse;
}