Separate message and exception by newline (#1058)

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 <st.oehme@gmail.com>
This commit is contained in:
Guillaume Nodet
2024-07-16 17:15:53 +02:00
committed by GitHub
parent ffad0888ea
commit e8cb521833

View File

@@ -102,6 +102,7 @@ public class MvndSimpleLogger extends MvndBaseLogger {
return;
}
MessageBuilder builder = MessageUtils.builder();
builder.newline();
builder.failure(t.getClass().getName());
if (t.getMessage() != null) {
builder.a(": ");