From 83dfa790b36dfb71716859add23ee8115a22ef2c Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 17 Nov 2011 22:49:50 +0000 Subject: [PATCH] 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 --- .../repository/managed/DefaultManagedRepositoryAdmin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.39.5