Spark db:seed - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: Spark db:seed (/showthread.php?tid=82881) |
Spark db:seed - iRedds - 08-29-2022 If you call the php spark db:seed command on a file that does not exist, an exception is thrown (For what?) and, along with the error text, a backtrace is also displayed. It seems to me that such behavior in the console looks terrible. Code: php spark db:seed 11 RE: Spark db:seed - MGatner - 09-04-2022 That would be a good candidate for an exception catch and a custom error output, for sure. Nice "catch" |