aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-06-02 21:14:22 +0000
committerOlivier Lamy <olamy@apache.org>2012-06-02 21:14:22 +0000
commite02d0cdc8b85d6d1b54e6c70f9b3e296d2b0a794 (patch)
tree382959b3fc59c2eca7b8b0a7a818172ce8d1e054 /archiva-modules/plugins
parenteeed20ed3604a898910b347cecd19a6d8793e210 (diff)
downloadarchiva-e02d0cdc8b85d6d1b54e6c70f9b3e296d2b0a794.tar.gz
archiva-e02d0cdc8b85d6d1b54e6c70f9b3e296d2b0a794.zip
avoid using printStackTrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345577 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins')
-rw-r--r--archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java4
1 files 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 );
}
}