notic修正

This commit is contained in:
thinkphp
2016-02-02 21:41:38 +08:00
parent 8ed7c91b29
commit c0e8c95237
5 changed files with 12 additions and 12 deletions

View File

@@ -93,7 +93,7 @@ class Error
{
if ($errno & Config::get('exception_ignore_type')) {
// 忽略的异常记录到日志
Log::record("[{$errno}]{$errstr}[{$errfile}:{$errline}]", 'notic');
Log::record("[{$errno}]{$errstr}[{$errfile}:{$errline}]", 'notice');
} else {
// 将错误信息托管至 think\exception\ErrorException
throw new ErrorException($errno, $errstr, $errfile, $errline, $errcontext);