summaryrefslogtreecommitdiffstats
path: root/archiva-base
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2007-10-16 03:13:03 +0000
committerMaria Odea B. Ching <oching@apache.org>2007-10-16 03:13:03 +0000
commitbc7e954a49f7d60bb3d4c323ca5101f26890ecd5 (patch)
tree47453af5136ef6723af692d90b862519e49f0a3d /archiva-base
parent0ef85fe69c3fb93b8b1645cd24c5156aca5744f7 (diff)
downloadarchiva-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.java6
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() );
}