mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 16:12:49 +08:00
改进异常日志写入
This commit is contained in:
@@ -74,7 +74,7 @@ class Error
|
||||
}
|
||||
|
||||
// 记录异常日志
|
||||
Log::write("[{$data['code']}]{$data['message']}[{$data['file']}:{$data['line']}]", 'error');
|
||||
Log::record("[{$data['code']}]{$data['message']}[{$data['file']}:{$data['line']}]", 'error');
|
||||
// 输出错误信息
|
||||
self::output($exception, $data);
|
||||
// 禁止往下传播已处理过的异常
|
||||
|
||||
Reference in New Issue
Block a user