james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rouaz...@apache.org
Subject [23/50] [abbrv] james-project git commit: JAMES-1877 Remove unrelated exception
Date Tue, 10 Jan 2017 14:18:38 GMT
JAMES-1877 Remove unrelated exception

No attempts to dequeue the e-mail was done, no need to throw an exception that will be caught
10 lines under


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/f5fc4757
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/f5fc4757
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/f5fc4757

Branch: refs/heads/master
Commit: f5fc4757e0965b3205d4e519378d5d12b8bce2c8
Parents: cb0cb77
Author: Benoit Tellier <btellier@linagora.com>
Authored: Thu Dec 1 16:14:10 2016 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Tue Jan 10 15:12:50 2017 +0700

----------------------------------------------------------------------
 .../james/transport/mailets/remoteDelivery/DeliveryRunnable.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/f5fc4757/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remoteDelivery/DeliveryRunnable.java
----------------------------------------------------------------------
diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remoteDelivery/DeliveryRunnable.java
b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remoteDelivery/DeliveryRunnable.java
index b8be45d..f6763ef 100644
--- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remoteDelivery/DeliveryRunnable.java
+++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remoteDelivery/DeliveryRunnable.java
@@ -113,7 +113,6 @@ public class DeliveryRunnable implements Runnable {
                         logger.error("Exception caught in RemoteDelivery.run()", e);
                         LifecycleUtil.dispose(mail);
                         queueItem.done(false);
-                        throw new MailQueue.MailQueueException("Unable to perform dequeue",
e);
                     }
 
                 } catch (Throwable e) {


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message