hboutemy commented on code in PR #135:
URL: https://github.com/apache/maven-release/pull/135#discussion_r884300426


##########
maven-release-manager/src/main/java/org/apache/maven/shared/release/DefaultReleaseManager.java:
##########
@@ -726,7 +732,10 @@ private void logInfo( ReleaseResult result, String message 
)
 
     private void captureException( ReleaseResult result, 
ReleaseManagerListener listener, Exception e )
     {
-        updateListener( listener, e.getMessage(), ERROR );
+        if ( listener != null )
+        {
+            listener.error( e.getMessage() );

Review Comment:
   it's just for a basic log line: immediately, the exception will be thrown 
wrapped in a MojoException



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to