From 436e0797241bf2efcef2eb83a810090123071b35 Mon Sep 17 00:00:00 2001 From: Nemi Shah Date: Mon, 22 May 2023 16:41:18 +0530 Subject: [PATCH] Update based on PR review --- recipe/session/accessToken.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/session/accessToken.go b/recipe/session/accessToken.go index af3ea594..f1557b61 100644 --- a/recipe/session/accessToken.go +++ b/recipe/session/accessToken.go @@ -85,7 +85,7 @@ func GetInfoFromAccessToken(jwtInfo sessmodels.ParsedJWTInfo, jwks keyfunc.JWKS, } if parseErr != nil { - supertokens.LogDebugMessage("GetInfoFromAccessToken: Returning TryRefreshTokenError because access token parsing failed") + supertokens.LogDebugMessage(fmt.Sprintf("GetInfoFromAccessToken: Returning TryRefreshTokenError because access token parsing failed - %s", parseErr)) return nil, sterrors.TryRefreshTokenError{ Msg: parseErr.Error(), }