变更
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ class Server implements OnRequestInterface
|
||||
|
||||
$PsrResponse = (new HttpRequestHandler($middleware, $dispatcher))->handle($PsrRequest);
|
||||
} catch (\Throwable $throwable) {
|
||||
\Kiri::getLogger()->error($throwable->getMessage(), [$throwable]);
|
||||
error($throwable);
|
||||
$PsrResponse = $this->exception->emit($throwable, di(ConstrictResponse::class));
|
||||
} finally {
|
||||
$this->emitter->sender($PsrResponse, $response);
|
||||
|
||||
Reference in New Issue
Block a user