You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2018/09/30 08:50:00 UTC

[maven] 01/01: Fixed typo in exception logging LegacyRepositorySystem

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

slachiewicz pushed a commit to branch fix/log-typo
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 14cd39c4f83f528328eb1dbfb9581311f1437559
Author: Sylwester Lachiewicz <sl...@gmail.com>
AuthorDate: Sun Jun 10 17:41:24 2018 +0200

    Fixed typo in exception logging LegacyRepositorySystem
---
 .../org/apache/maven/repository/legacy/LegacyRepositorySystem.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java b/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
index 0acab4f..e3e7781 100644
--- a/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
+++ b/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
@@ -186,7 +186,7 @@ public class LegacyRepositorySystem
             // MNG-5368: Log a message instead of returning 'null' silently.
             this.logger.error( String.format(
                 "Invalid version specification '%s' creating extension artifact '%s:%s:%s'.",
-                version, groupId, artifactId, version, e ) );
+                version, groupId, artifactId, version ), e );
 
             return null;
         }
@@ -217,7 +217,7 @@ public class LegacyRepositorySystem
             // MNG-5368: Log a message instead of returning 'null' silently.
             this.logger.error( String.format(
                 "Invalid version specification '%s' creating plugin artifact '%s'.",
-                version, plugin, e ) );
+                version, plugin ), e );
 
             return null;
         }