From 24b37f4d52f89000bb4f2c6f2d179efcbd406e5e Mon Sep 17 00:00:00 2001 From: Juan Cristobal Date: Fri, 1 Mar 2024 04:11:09 +0100 Subject: [PATCH] update file --- src/HandlerErrors.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/HandlerErrors.php b/src/HandlerErrors.php index f15b9cd..5f33d60 100644 --- a/src/HandlerErrors.php +++ b/src/HandlerErrors.php @@ -28,6 +28,9 @@ function handlerErrors($errno, $errstr, $errfile, $errline) function handlerException(Throwable $e) { + if (error_reporting() === 0) + return false; + $log = Config::get('app.initLogReportings'); if ($log === true) {