diff options
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java index 115c931de..2015ff99c 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java @@ -106,6 +106,10 @@ public class RepositorySession } } + /** + * ignore RuntimeException when closing repository + * @since 1.4-M4 + */ public void closeQuietly() { try @@ -114,7 +118,7 @@ public class RepositorySession } catch ( RuntimeException e ) { - log.warn( "ignore Runtime exception while closing: {}", e.getMessage() ); + log.warn( "ignore Runtime exception while closing: {}", e.getMessage(), e ); } } |