diff --git a/library/think/exception/RouteNotFoundException.php b/library/think/exception/RouteNotFoundException.php index f85a3c4b..d22e3a63 100644 --- a/library/think/exception/RouteNotFoundException.php +++ b/library/think/exception/RouteNotFoundException.php @@ -16,7 +16,7 @@ class RouteNotFoundException extends HttpException public function __construct() { - parent::__construct(404); + parent::__construct(404, 'Route Not Found'); } }