]> source.dussan.org Git - archiva.git/commitdiff
skip error in MetadateRepository when deleting a repository; log warn the exception
authorOlivier Lamy <olamy@apache.org>
Thu, 17 Nov 2011 22:49:50 +0000 (22:49 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 17 Nov 2011 22:49:50 +0000 (22:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203405 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java

index f4c99b2fe23551e13d8b54b524ff906881997576..063e20d5e430603183a908b6c4f6f67bb2c02057 100644 (file)
@@ -403,7 +403,8 @@ public class DefaultManagedRepositoryAdmin
             }
             catch ( MetadataRepositoryException e )
             {
-                throw new RepositoryAdminException( e.getMessage(), e );
+                //throw new RepositoryAdminException( e.getMessage(), e );
+                log.warn( "skip error during removing repository from MetadatRepository:" + e.getMessage(), e );
             }
             finally
             {