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); } }