改进RouteNotFound异常提示

This commit is contained in:
thinkphp
2017-07-07 16:03:26 +08:00
parent 37527368b4
commit 1245d8fae9

View File

@@ -16,7 +16,7 @@ class RouteNotFoundException extends HttpException
public function __construct() public function __construct()
{ {
parent::__construct(404); parent::__construct(404, 'Route Not Found');
} }
} }