You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2020/10/22 20:43:41 UTC

[maven-indexer] branch master updated: (doc) Use exception message in printed message

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-indexer.git


The following commit(s) were added to refs/heads/master by this push:
     new 48b3faa  (doc) Use exception message in printed message
48b3faa is described below

commit 48b3faa4d6f7156fbf1281bdfc0506acfe7920e2
Author: Piotrek Żygieło <pz...@users.noreply.github.com>
AuthorDate: Sun Oct 18 21:14:09 2020 +0200

    (doc) Use exception message in printed message
---
 .../src/main/java/org/apache/maven/index/cli/NexusIndexerCli.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indexer-cli/src/main/java/org/apache/maven/index/cli/NexusIndexerCli.java b/indexer-cli/src/main/java/org/apache/maven/index/cli/NexusIndexerCli.java
index d64f039..3b2319f 100644
--- a/indexer-cli/src/main/java/org/apache/maven/index/cli/NexusIndexerCli.java
+++ b/indexer-cli/src/main/java/org/apache/maven/index/cli/NexusIndexerCli.java
@@ -484,7 +484,7 @@ public class NexusIndexerCli
         {
             if ( !quiet )
             {
-                System.err.printf( "Cannot zip index; \n", e.getMessage() );
+                System.err.printf( "Cannot zip index: %s\n", e.getMessage() );
 
                 if ( debug )
                 {