修复错误的变量名

This commit is contained in:
麦当苗儿
2016-02-01 21:14:34 +08:00
parent 1fc0783ebf
commit 338532b024

View File

@@ -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);