ignore issue when file is not here but continue deleting metadatas

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-11 19:26:17 +00:00
parent 7219873f2d
commit fce214d021
1 changed files with 3 additions and 2 deletions

View File

@ -682,8 +682,9 @@ public class DefaultRepositoriesService
if ( !targetPath.exists() )
{
throw new ContentNotFoundException(
artifact.getGroupId() + ":" + artifact.getArtifactId() + ":" + artifact.getVersion() );
//throw new ContentNotFoundException(
// artifact.getGroupId() + ":" + artifact.getArtifactId() + ":" + artifact.getVersion() );
log.warn( "targetPath {} not found skip file deletion", targetPath );
}
// TODO: this should be in the storage mechanism so that it is all tied together