diff options
author | Olivier Lamy <olamy@apache.org> | 2011-11-17 22:49:50 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-11-17 22:49:50 +0000 |
commit | 83dfa790b36dfb71716859add23ee8115a22ef2c (patch) | |
tree | 85488ca504984bcce38edd188255c78b2a00e355 | |
parent | 988f8b45f3ae4c2e2d99e38c64e1d2ef5273d37f (diff) | |
download | archiva-83dfa790b36dfb71716859add23ee8115a22ef2c.tar.gz archiva-83dfa790b36dfb71716859add23ee8115a22ef2c.zip |
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
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |