Log::record($log, 'error'); // 记录的错误,但是未保存 导致出现错误 无法跟踪

This commit is contained in:
Mr.Wang
2016-04-05 19:21:42 +08:00
parent cff39cfaa8
commit 7770dd04b4

View File

@@ -69,6 +69,7 @@ class Error
// 记录异常日志
Log::record($log, 'error');
Log::save();
/* 非API模式下的部署模式跳转到指定的 Error Page */
$error_page = Config::get('error_page');