mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修复错误的变量名
This commit is contained in:
@@ -93,7 +93,7 @@ class Error
|
|||||||
{
|
{
|
||||||
if ($errno & Config::get('exception_ignore_type')) {
|
if ($errno & Config::get('exception_ignore_type')) {
|
||||||
// 忽略的异常记录到日志
|
// 忽略的异常记录到日志
|
||||||
Log::record("[{$data['code']}]{$data['message']}[{$data['file']}:{$data['line']}]", 'notic');
|
Log::record("[{$errno}]{$errstr}[{$errfile}:{$errline}]", 'notic');
|
||||||
} else {
|
} else {
|
||||||
// 将错误信息托管至 think\exception\ErrorException
|
// 将错误信息托管至 think\exception\ErrorException
|
||||||
throw new ErrorException($errno, $errstr, $errfile, $errline);
|
throw new ErrorException($errno, $errstr, $errfile, $errline);
|
||||||
|
|||||||
Reference in New Issue
Block a user