@@ -73,7 +73,7 @@ func RTU_ProcessCommand(request *C.char) *C.char {
call := func(f func(*jsonrpc2.Request) (*jsonrpc2.Response, error)) *jsonrpc2.Response {
resp, e := f(r)
- if e != nil {
+ if e != nil { // 调用本地RPC处理函数时发生错误
return jsonrpc2.BuildInternalError(r.ID)
}
return resp