From: Olivier Lamy Date: Sat, 2 Jun 2012 21:14:22 +0000 (+0000) Subject: avoid using printStackTrace X-Git-Tag: archiva-1.4-M3~647 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e02d0cdc8b85d6d1b54e6c70f9b3e296d2b0a794;p=archiva.git avoid using printStackTrace git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345577 13f79535-47bb-0310-9956-ffa450edef68 --- 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 ); } }