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 bt...@apache.org on 2018/04/09 07:31:43 UTC

[3/4] james-project git commit: JAMES-2110 Do not swallow keyword parsing exception cause

JAMES-2110 Do not swallow keyword parsing exception cause


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

Branch: refs/heads/master
Commit: b9993045880c051625a3a98fbc119cb1de5609cf
Parents: e5f7dc7
Author: benwa <bt...@linagora.com>
Authored: Fri Apr 6 14:17:56 2018 +0700
Committer: benwa <bt...@linagora.com>
Committed: Mon Apr 9 14:30:55 2018 +0700

----------------------------------------------------------------------
 .../jmap/src/main/java/org/apache/james/jmap/model/Keywords.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b9993045/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keywords.java
----------------------------------------------------------------------
diff --git a/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keywords.java b/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keywords.java
index c7db1d0..72c12aa 100644
--- a/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keywords.java
+++ b/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keywords.java
@@ -124,7 +124,7 @@ public class Keywords {
             try {
                 return Stream.of(new Keyword(flagName));
             } catch (IllegalArgumentException e) {
-                LOGGER.warn("Fail to parse {} flag", flagName);
+                LOGGER.warn("Fail to parse {} flag", flagName, e);
                 return Stream.of();
             }
         }


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