You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/05/05 15:39:00 UTC

[jira] [Closed] (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:all-tabpanel ]

Tamas Cservenak closed MNG-7778.
--------------------------------
    Resolution: Fixed

master; [https://github.com/apache/maven/commit/56674cdc90ee45dc807b44850be5918d1cb3085b]

maven-3.9.x: https://github.com/apache/maven/commit/c2331d37f52b81e036bd119ba985a4ae6d439f45

> 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
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 3.9.2, 4.0.0-alpha-6, 4.0.0
>
>
> 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)