mirror of https://github.com/apache/archiva.git
[MRM-461] Warning message for non existent resources should include what resource it failed to locate.
Added url + resource path to log message. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583641 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c88017fe32
commit
510867d718
|
@ -559,8 +559,7 @@ public class DefaultRepositoryProxyConnectors
|
|||
}
|
||||
else
|
||||
{
|
||||
getLogger().debug(
|
||||
"Retrieving " + remotePath + " from " + remoteRepository.getRepository().getName()
|
||||
getLogger().debug( "Retrieving " + remotePath + " from " + remoteRepository.getRepository().getName()
|
||||
+ " if updated" );
|
||||
success = wagon.getIfNewer( remotePath, temp, localFile.lastModified() );
|
||||
if ( !success )
|
||||
|
@ -580,12 +579,14 @@ public class DefaultRepositoryProxyConnectors
|
|||
}
|
||||
catch ( ResourceDoesNotExistException e )
|
||||
{
|
||||
getLogger().debug( "Resource does not exist: " + e.getMessage() );
|
||||
getLogger().debug( "Resource [" + remoteRepository.getURL() + "/" + remotePath + "] does not exist: "
|
||||
+ e.getMessage() );
|
||||
throw e;
|
||||
}
|
||||
catch ( WagonException e )
|
||||
{
|
||||
getLogger().warn( "Download failure:" + e.getMessage(), e );
|
||||
getLogger().warn( "Download failure on resource [" + remoteRepository.getURL() + "/" + remotePath + "]:"
|
||||
+ e.getMessage(), e );
|
||||
throw e;
|
||||
}
|
||||
finally
|
||||
|
|
Loading…
Reference in New Issue