This commit is contained in:
as2252258@163.com
2021-08-03 00:42:56 +08:00
parent 6bbd153c6a
commit 74d9766be2
+3 -1
View File
@@ -98,7 +98,9 @@ class HTTPServerListener extends Abstracts\Server
try {
Context::setContext(Response::class, $response);
$result = $this->router->dispatch(HSRequest::create($request));
$this->response->send('ok');
// $result = $this->router->dispatch(HSRequest::create($request));
} catch (Error | Throwable $exception) {
$result = $this->router->exception($exception);
} finally {