Skip to content

Commit

Permalink
Separate message and exception by newline (#1058)
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.

Co-authored-by: Stefan Oehme <[email protected]>
  • Loading branch information
gnodet and oehme authored Jul 16, 2024
1 parent ffad088 commit e8cb521
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ protected void writeThrowable(Throwable t, StringBuilder sb) {
return;
}
MessageBuilder builder = MessageUtils.builder();
builder.newline();
builder.failure(t.getClass().getName());
if (t.getMessage() != null) {
builder.a(": ");
Expand Down

0 comments on commit e8cb521

Please sign in to comment.