From f032388d3873daa8428e4c38aa9e012a80cc6b4c Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 3 Aug 2021 01:24:03 +0800 Subject: [PATCH] modify --- Server/HTTPServerListener.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Server/HTTPServerListener.php b/Server/HTTPServerListener.php index ee4688a8..6ef3f0c8 100644 --- a/Server/HTTPServerListener.php +++ b/Server/HTTPServerListener.php @@ -100,8 +100,7 @@ class HTTPServerListener extends Abstracts\Server $this->router->dispatch(HSRequest::create($request)); } catch (Error | Throwable $exception) { - $result = $this->router->exception($exception); - $this->response->send($result); + $this->response->send(jTraceEx($exception),500); } }