You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ad...@apache.org on 2017/12/18 19:35:11 UTC
[35/50] [abbrv] james-project git commit: JAMES-2199 Log the error
with the full stack trace
JAMES-2199 Log the error with the full stack trace
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/5db69ff6
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/5db69ff6
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/5db69ff6
Branch: refs/heads/master
Commit: 5db69ff6ba2480ca3f4579adf6c11f055d2f43f7
Parents: 9895b6b
Author: Daniel Trebbien <dt...@gmail.com>
Authored: Thu Oct 26 14:10:02 2017 -0400
Committer: Antoine Duprat <ad...@linagora.com>
Committed: Mon Dec 18 20:31:53 2017 +0100
----------------------------------------------------------------------
.../main/java/org/apache/james/jmap/send/PostDequeueDecorator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/5db69ff6/server/protocols/jmap/src/main/java/org/apache/james/jmap/send/PostDequeueDecorator.java
----------------------------------------------------------------------
diff --git a/server/protocols/jmap/src/main/java/org/apache/james/jmap/send/PostDequeueDecorator.java b/server/protocols/jmap/src/main/java/org/apache/james/jmap/send/PostDequeueDecorator.java
index bfac1af..9220aca 100644
--- a/server/protocols/jmap/src/main/java/org/apache/james/jmap/send/PostDequeueDecorator.java
+++ b/server/protocols/jmap/src/main/java/org/apache/james/jmap/send/PostDequeueDecorator.java
@@ -85,7 +85,7 @@ public class PostDequeueDecorator extends MailQueueItemDecorator {
moveFromOutboxToSentWithSeenFlag(messageId, mailboxSession);
getMail().setAttribute(IS_DELIVERED, IS_DELIVERED);
} catch (MailShouldBeInOutboxException e) {
- LOG.info("Message does not exist on Outbox anymore, it could have already been sent {}", e.toString());
+ LOG.info("Message does not exist on Outbox anymore, it could have already been sent", e);
} catch (MailboxException e) {
throw new MailQueueException(e.getMessage(), e);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org