This commit is contained in:
as2252258@163.com
2021-08-05 22:34:52 +08:00
parent 3e05205618
commit 0fabbe3988
+1
View File
@@ -124,6 +124,7 @@ class HTTPServerListener extends Abstracts\Server
if (!(($responseData = $node->dispatch()) instanceof ResponseInterface)) {
$responseData = $this->response->setContent($responseData)->setStatusCode(200);
}
var_dump($responseData);
} catch (Error | Throwable $exception) {
$responseData = $this->exceptionHandler->emit($exception, $this->response);
} finally {