![]() |
Log "production" PHP Native errors instead of "sweeping under the carpet" - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Log "production" PHP Native errors instead of "sweeping under the carpet" (/showthread.php?tid=80546) |
Log "production" PHP Native errors instead of "sweeping under the carpet" - John_Betong - 11-14-2021 @kilishan, I have never liked the idea of NOT logging "production" errors and far prefer using PHP Native Error Reporting. Utilising "production" CI_DEBUG (FALSE) setting: File: CodeIgniter4/app/Config/Boot/production.php Proposal: File: CodeIgniter4/system/Debug/Exceptions.php PHP Code: // around line: 80 Anyone in favour of Raising a new Pull Request with the above amendments? |