Skip to content

Commit 1d99225

Browse files
authored
Merge pull request #6 from sudden3/patch-1
增加默认不记录到日志的异常类 BusinessException
2 parents 114c916 + 7a17618 commit 1d99225

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)