We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30c6c67 commit e228df2Copy full SHA for e228df2
cf-java-logging-support-servlet/src/main/java/com/sap/hcp/cf/logging/servlet/dynlog/TokenDecoder.java
@@ -36,7 +36,8 @@ public DecodedJWT validateAndDecodeToken(String token) throws DynamicLogLevelExc
36
throw new DynamicLogLevelException("Token provided to dynamically change the log-level on thread-level is outdated");
37
}
38
} catch (JWTVerificationException e) {
39
- throw new DynamicLogLevelException("Token could not be verified", e);
+ // Exception is not attached to avoid logging of JWT token
40
+ throw new DynamicLogLevelException("Token could not be verified");
41
42
43
0 commit comments