From a7c201363c20fa63dbbca91479828aca4ff4f40f Mon Sep 17 00:00:00 2001 From: ayyoob Date: Mon, 15 Aug 2016 15:20:37 +0530 Subject: [PATCH] logged exception trace --- .../client/extension/service/JWTClientManagerServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/main/java/org/wso2/carbon/identity/jwt/client/extension/service/JWTClientManagerServiceImpl.java b/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/main/java/org/wso2/carbon/identity/jwt/client/extension/service/JWTClientManagerServiceImpl.java index f12d295b7a..51c19212a3 100644 --- a/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/main/java/org/wso2/carbon/identity/jwt/client/extension/service/JWTClientManagerServiceImpl.java +++ b/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/main/java/org/wso2/carbon/identity/jwt/client/extension/service/JWTClientManagerServiceImpl.java @@ -81,7 +81,7 @@ public class JWTClientManagerServiceImpl implements JWTClientManagerService { addJWTClient(tenantDomain, jwtClient); } catch (JWTClientAlreadyExistsException e) { log.warn("Attempting to register a jwt client for the tenant " + tenantDomain + - " when one already exists. Returning existing jwt client"); + " when one already exists. Returning existing jwt client", e); return getJWTClient(tenantDomain); } catch (JWTClientConfigurationException e) { throw new JWTClientException("Failed to parse jwt configuration for tenant " + tenantDomain, e); @@ -110,7 +110,7 @@ public class JWTClientManagerServiceImpl implements JWTClientManagerService { addJWTClient(MultitenantConstants.SUPER_TENANT_DOMAIN_NAME, defaultJWTClient); } catch (JWTClientAlreadyExistsException e) { log.warn("Attempting to register a jwt client for the super tenant" + - " when one already exists. Returning existing jwt client"); + " when one already exists. Returning existing jwt client", e); } } }