This commit is contained in:
2021-08-01 15:14:29 +08:00
parent 5269fd2679
commit ff1f891ec3
+2 -1
View File
@@ -94,7 +94,8 @@ class HTTPServerListener extends Abstracts\Server
/** @var \HttpServer\Http\Response $sResponse */
[$sRequest, $sResponse] = $this->request($request, $response);
$result = $this->router->dispatch($sRequest);
$result = 'ok';
// $result = $this->router->dispatch($sRequest);
} catch (Error | Throwable $exception) {
$result = $this->router->exception($exception);
} finally {