diff --git a/src/Router.php b/src/Router.php index 008840c..c200f69 100755 --- a/src/Router.php +++ b/src/Router.php @@ -175,7 +175,8 @@ public function directCall(array $route, $params = null): void $this->handleMiddleware($route['middleware']['before']); } - $this->callActionThroughReflection($params, $action, $controller); + $this->callActionThroughException($params, $action, $controller); + // $this->callActionThroughReflection($params, $action, $controller); if (isset($route['middleware']['after'])) { $this->handleMiddleware($route['middleware']['after']);