diff --git a/RpcJsonp.php b/RpcJsonp.php index b4c7c8c..e15f12d 100644 --- a/RpcJsonp.php +++ b/RpcJsonp.php @@ -192,6 +192,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa // $code = $throwable->getCode() == 0 ? -32603 : $throwable->getCode(); // return $this->failure($code, jTraceEx($throwable), [], $data['id'] ?? null); // } + return $this->failure(404, 'Not found.'); }