优化驱动错误提示
This commit is contained in:
parent
1b887c68b7
commit
8e33a90f97
@ -524,7 +524,7 @@ namespace DriverModbusMaster
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
rpcResponse.Description = $"写入失败:{Method},{Ioarg}";
|
rpcResponse.Description = $"写入失败,[Method]:{Method},[Ioarg]:{Ioarg},[ex]:{ex}";
|
||||||
}
|
}
|
||||||
return rpcResponse;
|
return rpcResponse;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user