diff --git a/app/ExceptionHandle.php b/app/ExceptionHandle.php
index 453d126..ad8ac07 100644
--- a/app/ExceptionHandle.php
+++ b/app/ExceptionHandle.php
@@ -36,7 +36,13 @@ class ExceptionHandle extends Handle
*/
public function report(Throwable $exception): void
{
- // 使用内置的方式记录异常日志
+ if (!$this->isIgnoreReport($exception)) {
+ \app\utils\Logger::error(\app\utils\Logger::CAT_ERROR, $exception->getMessage(), [
+ 'file' => $exception->getFile(),
+ 'line' => $exception->getLine(),
+ 'trace' => substr($exception->getTraceAsString(), 0, 2000),
+ ]);
+ }
parent::report($exception);
}
diff --git a/app/common.php b/app/common.php
index ee81690..5139cdc 100644
--- a/app/common.php
+++ b/app/common.php
@@ -3,7 +3,7 @@
//应用公共文件
// 版本号
-define('VERSION_V','?ver=v10.0.9');
+define('VERSION_V','?ver=v10.1.0');
// 强制加载中文语言包
\think\facade\Lang::load(__DIR__ . '/lang/zh-cn.php');
diff --git a/app/handle/view/index/tab_b.html b/app/handle/view/index/tab_b.html
index caf023f..a502aa7 100644
--- a/app/handle/view/index/tab_b.html
+++ b/app/handle/view/index/tab_b.html
@@ -292,6 +292,7 @@
+