From: Olivier Lamy Date: Thu, 17 Nov 2011 22:49:50 +0000 (+0000) Subject: skip error in MetadateRepository when deleting a repository; log warn the exception X-Git-Tag: archiva-1.4-M2~95 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83dfa790b36dfb71716859add23ee8115a22ef2c;p=archiva.git skip error in MetadateRepository when deleting a repository; log warn the exception git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203405 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java index f4c99b2fe..063e20d5e 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java @@ -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 {