diff --git a/f_config/config.php b/f_config/config.php index 2bee441d..244b701f 100644 --- a/f_config/config.php +++ b/f_config/config.php @@ -59,7 +59,7 @@ function logError(string $err, string $errstr, array $trace){ $fdb->insert('err_log', [ 'date'=>$date, - 'err'=>getFriendlyErrorType($errno), + 'err'=>$err, 'errstr'=>$errstr, 'trace'=>Json::encode($trace) ]);