mirror of https://github.com/apache/archiva.git
if file not exists for a repository try next repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0889d5a17d
commit
cb80084a24
|
@ -731,8 +731,7 @@ public class DefaultBrowseService
|
|||
File file = managedRepositoryContent.toFile( archivaArtifact );
|
||||
if ( !file.exists() )
|
||||
{
|
||||
// 404 ?
|
||||
return "";
|
||||
continue;
|
||||
}
|
||||
if ( StringUtils.isNotBlank( path ) )
|
||||
{
|
||||
|
@ -770,6 +769,7 @@ public class DefaultBrowseService
|
|||
throw new ArchivaRestServiceException( e.getMessage(),
|
||||
Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), e );
|
||||
}
|
||||
// 404 ?
|
||||
return "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue