From eb8b61cc381586d3ae779c76465dd30f0ae57b22 Mon Sep 17 00:00:00 2001 From: Kenney Westerhof Date: Tue, 24 Apr 2007 17:37:33 +0000 Subject: [PATCH] Add some useful debug info, like what went wrong git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@532023 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/artifact/manager/DefaultWagonManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java b/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java index 98229d68a9..67e0dcf0d7 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java @@ -298,12 +298,12 @@ public class DefaultWagonManager // because we want to cycle through them all before squawking. getLogger().debug( "Unable to get resource '" + artifact.getId() + "' from repository " + - repository.getId() + " (" + repository.getUrl() + ")" ); + repository.getId() + " (" + repository.getUrl() + ")", e ); } catch ( TransferFailedException e ) { getLogger().debug( "Unable to get resource '" + artifact.getId() + "' from repository " + - repository.getId() + " (" + repository.getUrl() + ")" ); + repository.getId() + " (" + repository.getUrl() + ")", e ); } }