Skip to content

Commit

Permalink
Update LogMessageFilter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterchen09 committed Jun 29, 2024
1 parent 769d952 commit 858df9d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ public FilterReply decide(ILoggingEvent event) {

final String formattedMessage = event.getFormattedMessage();
final IThrowableProxy throwableProxy = event.getThrowableProxy();
String throwableString = null;

String throwableString;
if (throwableProxy != null) {
throwableString = ThrowableProxyUtil.asString(throwableProxy);
} else {
throwableString = null;
}

if (this.excluded.stream()
Expand Down

0 comments on commit 858df9d

Please sign in to comment.