Skip to content

Commit

Permalink
Separate message and exception by newline (#1055)
Browse files Browse the repository at this point in the history
This was a small discrepancy to the output of vanilla Maven and made the output
hard to read, since the failure class name started right after the message without
any whitespace in between.
  • Loading branch information
oehme authored Jul 16, 2024
1 parent e12915d commit a5a5eb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logging/src/main/java/org/slf4j/impl/MvndSimpleLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ protected void writeThrowable(Throwable t, StringBuilder sb) {
return;
}
MessageBuilder builder = MessageUtils.buffer(sb);
builder.newline();
builder.failure(t.getClass().getName());
if (t.getMessage() != null) {
builder.a(": ");
Expand Down

0 comments on commit a5a5eb5

Please sign in to comment.