Skip to content

Commit

Permalink
SLF4j-466: if was missing a space
Browse files Browse the repository at this point in the history
  • Loading branch information
delgurth authored and ceki committed Aug 10, 2021
1 parent 1238dbc commit 176e067
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@ private void recordEvent(Level level, Marker marker, String msg, Object[] args,
loggingEvent.setThreadName(Thread.currentThread().getName());

// 1 and 2 args are covered by other methods
if(throwable == null && args != null && args.length > 2) {
if (throwable == null && args != null && args.length > 2) {
Throwable throwableCandidate = Util.getThrowableCandidate(args);
if(throwableCandidate != null) {
loggingEvent.setArgumentArray(Util.trimmedCopy(args));
Expand Down

0 comments on commit 176e067

Please sign in to comment.