Repository: james-project Updated Branches: refs/heads/master ae7a4be5a -> 84c5a6b90
JAMES-2226 Expose in logs the original cause in case of a JWT verification failure Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/84c5a6b9 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/84c5a6b9 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/84c5a6b9 Branch: refs/heads/master Commit: 84c5a6b90f4b1fe237784a7c98be4bf44141cbbb Parents: ae7a4be Author: Antoine Duprat <[email protected]> Authored: Tue Nov 21 11:13:39 2017 +0100 Committer: Antoine Duprat <[email protected]> Committed: Tue Nov 21 11:13:39 2017 +0100 ---------------------------------------------------------------------- .../jwt/src/main/java/org/apache/james/jwt/JwtTokenVerifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/84c5a6b9/server/protocols/jwt/src/main/java/org/apache/james/jwt/JwtTokenVerifier.java ---------------------------------------------------------------------- diff --git a/server/protocols/jwt/src/main/java/org/apache/james/jwt/JwtTokenVerifier.java b/server/protocols/jwt/src/main/java/org/apache/james/jwt/JwtTokenVerifier.java index cffc5fb..2fe9233 100644 --- a/server/protocols/jwt/src/main/java/org/apache/james/jwt/JwtTokenVerifier.java +++ b/server/protocols/jwt/src/main/java/org/apache/james/jwt/JwtTokenVerifier.java @@ -51,7 +51,7 @@ public class JwtTokenVerifier { } return true; } catch (JwtException e) { - LOGGER.info("Failed Jwt verification"); + LOGGER.info("Failed Jwt verification", e); return false; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
