diff options
author | Maria Odea B. Ching <oching@apache.org> | 2007-10-16 03:13:03 +0000 |
---|---|---|
committer | Maria Odea B. Ching <oching@apache.org> | 2007-10-16 03:13:03 +0000 |
commit | bc7e954a49f7d60bb3d4c323ca5101f26890ecd5 (patch) | |
tree | 47453af5136ef6723af692d90b862519e49f0a3d /archiva-base | |
parent | 0ef85fe69c3fb93b8b1645cd24c5156aca5744f7 (diff) | |
download | archiva-bc7e954a49f7d60bb3d4c323ca5101f26890ecd5.tar.gz archiva-bc7e954a49f7d60bb3d4c323ca5101f26890ecd5.zip |
- removed print stack trace in DatabaseCleanupRemoveProjectConsumer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585014 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-base')
-rw-r--r-- | archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/DatabaseCleanupRemoveProjectConsumer.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/DatabaseCleanupRemoveProjectConsumer.java b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/DatabaseCleanupRemoveProjectConsumer.java index 6203fc9ea..feb0ec672 100644 --- a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/DatabaseCleanupRemoveProjectConsumer.java +++ b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/DatabaseCleanupRemoveProjectConsumer.java @@ -119,14 +119,12 @@ public class DatabaseCleanupRemoveProjectConsumer } } catch ( RepositoryException re ) - { - re.printStackTrace(); + { throw new ConsumerException( "Can't run database cleanup remove artifact consumer: " + re.getMessage() ); } catch ( ArchivaDatabaseException e ) - { - e.printStackTrace(); + { throw new ConsumerException( e.getMessage() ); } |