moresandeep commented on code in PR #1168:
URL: https://github.com/apache/knox/pull/1168#discussion_r2874463044


##########
gateway-server/src/main/java/org/apache/knox/gateway/services/token/impl/TokenAuthorityServiceMessages.java:
##########
@@ -20,14 +20,15 @@
 import org.apache.knox.gateway.i18n.messages.Message;
 import org.apache.knox.gateway.i18n.messages.MessageLevel;
 import org.apache.knox.gateway.i18n.messages.Messages;
+import org.apache.knox.gateway.i18n.messages.StackTrace;
 
 @Messages(logger = "org.apache.knox.gateway.services.token.state")
 public interface TokenAuthorityServiceMessages {
   @Message(level = MessageLevel.ERROR, text = "There was an error getting kid, 
cause: {0}")
   void errorGettingKid(String message);
 
   @Message(level = MessageLevel.ERROR, text = "Failed to verify token using 
JWKS endpoint {0}, reason: {1}")
-  void jwksVerificationFailed(String jwksUrl, String reason);
+  void jwksVerificationFailed(String jwksUrl, String reason, @StackTrace( 
level = MessageLevel.ERROR) Exception e);

Review Comment:
   Oh what i meant is that when we log stack track then the stack trace gets 
printed twice, once via the Java process second via the log.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to