maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gili (JIRA)" <>
Subject [jira] [Commented] (SUREFIRE-1276) trimStackTrace trims newlines in exception message
Date Mon, 22 Aug 2016 20:53:20 GMT


Gili commented on SUREFIRE-1276:

[~tibor17] Please ignore my shortened testcase (the one with "Message"). I shortened it at
the last minute and never actually testing it locally. I know that with a longer string that
contains {{\n}} I see the same behavior you mentioned. So yes, I believe we are in agreement.

> trimStackTrace trims newlines in exception message
> --------------------------------------------------
>                 Key: SUREFIRE-1276
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>            Reporter: Gili
> I am throwing an exception whose message contains newlines for readability. When {{<trimStackTrace>}}
is true (the default value) Surefire is removing all newlines.
> Expected behavior: Consider moving this functionality out of {{<trimStackTrace>}}
into its own parameter. Regardless of which parameter enables this behavior, please document
it at ... right now
there is no mention of this behavior.

This message was sent by Atlassian JIRA

View raw message