eee
This commit is contained in:
@@ -87,6 +87,7 @@ class OnRequest implements OnRequestInterface
|
||||
|
||||
$PsrResponse = $this->router->query($request->server['path_info'], $request->getMethod())->run($PsrRequest);
|
||||
} catch (Throwable $throwable) {
|
||||
\Kiri::getLogger()->json_log($throwable);
|
||||
$PsrResponse = $this->exception->emit($throwable, $this->constrictResponse);
|
||||
} finally {
|
||||
$this->responseEmitter->response($PsrResponse, $response, $PsrRequest);
|
||||
|
||||
Reference in New Issue
Block a user