You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "peacewong (via GitHub)" <gi...@apache.org> on 2023/03/18 15:06:34 UTC

[GitHub] [linkis] peacewong commented on a diff in pull request #4376: Token supplementary optimization exception information in CachedToken…

peacewong commented on code in PR #4376:
URL: https://github.com/apache/linkis/pull/4376#discussion_r1141031987


##########
linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/main/scala/org/apache/linkis/gateway/authentication/service/CachedTokenService.scala:
##########
@@ -112,15 +109,21 @@ class CachedTokenService extends TokenService {
           x.getCause match {
             case _: TokenNotExistException => null
             case _ =>
+              logger.error(
+                s"Failed to obtain cache through tokenName, tokenName:${tokenName}(通过tokenName获取缓存失败,tokenName:${tokenName})"

Review Comment:
   need log exception



-- 
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: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org