eee
This commit is contained in:
@@ -117,6 +117,9 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
||||
return $server->send($fd, $this->batchDispatch($data), $reactor_id);
|
||||
} catch (\Throwable $throwable) {
|
||||
$response = Json::encode($this->failure(-32700, $throwable->getMessage()));
|
||||
|
||||
$this->getLogger()->json_log($throwable);
|
||||
|
||||
return $server->send($fd, $response, $reactor_id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user