diff --git a/src/Server/JsonRpcServer.php b/src/Server/JsonRpcServer.php index 4431111..2129097 100644 --- a/src/Server/JsonRpcServer.php +++ b/src/Server/JsonRpcServer.php @@ -65,7 +65,7 @@ class JsonRpcServer app('rpc.logger')->info('server', [$id, $class,$method, $params, $this->request->header('client_app'), $this->request->header('client_addr'), $this->request->header('client_host')]); $ret = call_user_func_array([(new $class($id, $this->request)), $function], $params); - app('rpc.logger')->info('server_result', [$id, $ret]); + app('rpc.logger')->info('server_result', [$id, \GuzzleHttp\json_decode($ret, true)]); return $ret; } catch (\InvalidArgumentException $e) {