Skip to content

Commit 7a17618

Browse files
authored
增加默认不记录到日志的异常类 BusinessException
1 parent 114c916 commit 7a17618

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • src/config/plugin/webman/log

src/config/plugin/webman/log/app.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
'exception' => [
55
// 是否记录异常到日志
66
'enable' => true,
7-
// 不会写入至日志的异常类
8-
'dontReport' => []
7+
// 不会记录到日志的异常类
8+
'dontReport' => [
9+
support\exception\BusinessException::class
10+
]
911
]
10-
];
12+
];

0 commit comments

Comments
 (0)