You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2019/01/06 12:20:23 UTC

[GitHub] rfscholte commented on a change in pull request #229: [MNG-5693] Change logging of MojoExceptions to console

rfscholte commented on a change in pull request #229: [MNG-5693] Change logging of MojoExceptions to console
URL: https://github.com/apache/maven/pull/229#discussion_r245506465
 
 

 ##########
 File path: maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
 ##########
 @@ -124,7 +115,7 @@ private ExceptionSummary handle( String message, Throwable exception )
             message = getMessage( message, exception );
         }
 
-        return new ExceptionSummary( exception, message, reference, children );
+        return new ExceptionSummary( exception, message, null, children );
 
 Review comment:
   I think it should be possible for some Maven Exceptions to provide their own reference, so plugins and extensions can refer to their own documentation. This cleanup looks a bit too agressive to me.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services