modify
This commit is contained in:
@@ -124,6 +124,7 @@ class HTTPServerListener extends Abstracts\Server
|
|||||||
if (!(($responseData = $node->dispatch()) instanceof ResponseInterface)) {
|
if (!(($responseData = $node->dispatch()) instanceof ResponseInterface)) {
|
||||||
$responseData = $this->response->setContent($responseData)->setStatusCode(200);
|
$responseData = $this->response->setContent($responseData)->setStatusCode(200);
|
||||||
}
|
}
|
||||||
|
var_dump($responseData);
|
||||||
} catch (Error | Throwable $exception) {
|
} catch (Error | Throwable $exception) {
|
||||||
$responseData = $this->exceptionHandler->emit($exception, $this->response);
|
$responseData = $this->exceptionHandler->emit($exception, $this->response);
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user