mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修复错误的变量名
This commit is contained in:
@@ -93,7 +93,7 @@ class Error
|
||||
{
|
||||
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 {
|
||||
// 将错误信息托管至 think\exception\ErrorException
|
||||
throw new ErrorException($errno, $errstr, $errfile, $errline);
|
||||
|
||||
Reference in New Issue
Block a user