You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/05/05 12:12:00 UTC
[jira] [Commented] (MNG-7778) Maven should print suppressed exceptions when a mojo fails
[ https://issues.apache.org/jira/browse/MNG-7778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17719826#comment-17719826 ]
ASF GitHub Bot commented on MNG-7778:
-------------------------------------
marcphilipp opened a new pull request, #1103:
URL: https://github.com/apache/maven/pull/1103
Instead of only including causes, suppressed exceptions are now included
as well. A similar indentation strategy as in
`Throwable.printStackTrace` is used.
> Maven should print suppressed exceptions when a mojo fails
> ----------------------------------------------------------
>
> Key: MNG-7778
> URL: https://issues.apache.org/jira/browse/MNG-7778
> Project: Maven
> Issue Type: Improvement
> Components: Logging
> Affects Versions: 3.8.8, 3.9.1, 4.0.0-alpha-5
> Reporter: Marc Philipp
> Priority: Major
>
> When a Mojo fails by throwing an exception any suppressed exceptions are omitted when printing its stacktrace. Since suppressed exceptions can often provide additional insights into such failures they should be printed similar to what `Throwable.printStackTrace` does.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)