modify
This commit is contained in:
@@ -100,8 +100,7 @@ class HTTPServerListener extends Abstracts\Server
|
|||||||
|
|
||||||
$this->router->dispatch(HSRequest::create($request));
|
$this->router->dispatch(HSRequest::create($request));
|
||||||
} catch (Error | Throwable $exception) {
|
} catch (Error | Throwable $exception) {
|
||||||
$result = $this->router->exception($exception);
|
$this->response->send(jTraceEx($exception),500);
|
||||||
$this->response->send($result);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user