You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2023/12/11 10:07:41 UTC

(maven-resolver) branch master updated: Fix last bit, this was leftover from prev PR

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 38371030 Fix last bit, this was leftover from prev PR
38371030 is described below

commit 3837103067929d8c2bb05872e2372f3ebb24e0fe
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon Dec 11 11:07:22 2023 +0100

    Fix last bit, this was leftover from prev PR
---
 .../java/org/eclipse/aether/resolution/ArtifactResolutionException.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-resolver-api/src/main/java/org/eclipse/aether/resolution/ArtifactResolutionException.java b/maven-resolver-api/src/main/java/org/eclipse/aether/resolution/ArtifactResolutionException.java
index f881569b..a45ea579 100644
--- a/maven-resolver-api/src/main/java/org/eclipse/aether/resolution/ArtifactResolutionException.java
+++ b/maven-resolver-api/src/main/java/org/eclipse/aether/resolution/ArtifactResolutionException.java
@@ -118,7 +118,7 @@ public class ArtifactResolutionException extends RepositoryException {
 
         Throwable cause = getCause(results);
         if (cause != null) {
-            buffer.append(": ").append(cause.getCause());
+            buffer.append(": ").append(cause.getMessage());
         }
 
         return buffer.toString();