mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
Exception filter for log4j: possible NPE issue was fixed.
This commit is contained in:
parent
e0029aebdd
commit
d47d763937
@ -113,6 +113,9 @@ public class ExceptionFilter extends Filter implements UnrecognizedElementHandle
|
||||
}
|
||||
|
||||
private int checkThrowable(Throwable exception) {
|
||||
if (exception == null) {
|
||||
return NEUTRAL;
|
||||
}
|
||||
String message = exception.getMessage();
|
||||
String className = exception.getClass().getName();
|
||||
for (Pattern pattern : excluded.get(GLOBAL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user