mirror of https://github.com/apache/archiva.git
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:
parent
7219873f2d
commit
fce214d021
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue