mirror of https://github.com/apache/archiva.git
avoid too much log when an artifact is not available in a remote repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325498 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
11f78cf148
commit
c0ec48e2a8
|
@ -134,10 +134,17 @@ public class RepositoryModelResolver
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch ( ResourceDoesNotExistException e )
|
||||||
|
{
|
||||||
|
log.info( "An exception was caught while attempting to retrieve model '" + model.getAbsolutePath()
|
||||||
|
+ "' from remote repository '" + remoteRepository.getId() + "'.Reason:"
|
||||||
|
+ e.getMessage() );
|
||||||
|
}
|
||||||
catch ( Exception e )
|
catch ( Exception e )
|
||||||
{
|
{
|
||||||
log.warn( "An exception was caught while attempting to retrieve model '" + model.getAbsolutePath()
|
log.warn( "An exception was caught while attempting to retrieve model '" + model.getAbsolutePath()
|
||||||
+ "' from remote repository '" + remoteRepository.getId() + "'.", e );
|
+ "' from remote repository '" + remoteRepository.getId() + "'.", e.getMessage() );
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue