From e02d0cdc8b85d6d1b54e6c70f9b3e296d2b0a794 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 2 Jun 2012 21:14:22 +0000 Subject: avoid using printStackTrace git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345577 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/metadata/repository/file/FileMetadataRepository.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java b/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java index d23614f38..d25324a11 100644 --- a/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java +++ b/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java @@ -628,7 +628,7 @@ public class FileMetadataRepository catch ( IOException e ) { // TODO - e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + log.error( e.getMessage(), e ); } } @@ -733,7 +733,7 @@ public class FileMetadataRepository catch ( IOException e ) { // TODO - e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. + log.error( e.getMessage(), e ); } } -- cgit v1.2.3