File tree Expand file tree Collapse file tree
user_guide_src/source/changelogs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212namespace CodeIgniter \CLI ;
1313
1414use CodeIgniter \CodeIgniter ;
15+ use Config \App ;
1516use Config \Services ;
1617use Exception ;
1718
@@ -31,6 +32,10 @@ class Console
3132 */
3233 public function run ()
3334 {
35+ // Create CLIRequest
36+ $ appConfig = config (App::class);
37+ Services::createRequest ($ appConfig , true );
38+
3439 $ runner = Services::commands ();
3540 $ params = array_merge (CLI ::getSegments (), CLI ::getOptions ());
3641 $ params = $ this ->parseParamsForHelpOption ($ params );
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ Bugs Fixed
3838
3939- **CodeIgniter: ** Fixed a bug that returned "200 OK" response status code when
4040 Page Not Found.
41+ - **Spark: ** Fixed a bug that caused spark to not display exceptions in the
42+ production mode or to display backtrace in json when an exception occurred.
4143
4244See the repo's
4345`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md >`_
You can’t perform that action at this time.
0 commit comments