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
This commit is contained in:
Kenney Westerhof 2007-04-24 17:37:33 +00:00
parent 40e2c95113
commit eb8b61cc38
1 changed files with 2 additions and 2 deletions

View File

@ -298,12 +298,12 @@ public class DefaultWagonManager
// because we want to cycle through them all before squawking. // because we want to cycle through them all before squawking.
getLogger().debug( "Unable to get resource '" + artifact.getId() + "' from repository " + getLogger().debug( "Unable to get resource '" + artifact.getId() + "' from repository " +
repository.getId() + " (" + repository.getUrl() + ")" ); repository.getId() + " (" + repository.getUrl() + ")", e );
} }
catch ( TransferFailedException e ) catch ( TransferFailedException e )
{ {
getLogger().debug( "Unable to get resource '" + artifact.getId() + "' from repository " + getLogger().debug( "Unable to get resource '" + artifact.getId() + "' from repository " +
repository.getId() + " (" + repository.getUrl() + ")" ); repository.getId() + " (" + repository.getUrl() + ")", e );
} }
} }