aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-01-30 14:42:46 +0300
committerGravatar Vitaly Takmazov2019-01-30 14:42:46 +0300
commitc154d3cbae11c531cc5d9b23db637f2553938621 (patch)
tree10f4db914769c58618d83983eed1637c30e9c2b7 /src/main
parentd94adc55edf7ec153934ed5fb3dd8e8f6a97cacf (diff)
log signature verification exception
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java b/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java
index 346a2f32..ffe4a125 100644
--- a/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java
+++ b/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java
@@ -56,7 +56,7 @@ public class HTTPSignatureAuthenticationFilter extends OncePerRequestFilter {
}
} catch (IOException e) {
logger.warn(String.format("Signature %s is not verified, context: %s", headers.get("Signature"),
- IOUtils.toString(request.getInputStream(), StandardCharsets.UTF_8)));
+ IOUtils.toString(request.getInputStream(), StandardCharsets.UTF_8)), e);
}
}