mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
logged exception trace
This commit is contained in:
parent
442c2b86da
commit
a7c201363c
@ -81,7 +81,7 @@ public class JWTClientManagerServiceImpl implements JWTClientManagerService {
|
|||||||
addJWTClient(tenantDomain, jwtClient);
|
addJWTClient(tenantDomain, jwtClient);
|
||||||
} catch (JWTClientAlreadyExistsException e) {
|
} catch (JWTClientAlreadyExistsException e) {
|
||||||
log.warn("Attempting to register a jwt client for the tenant " + tenantDomain +
|
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);
|
return getJWTClient(tenantDomain);
|
||||||
} catch (JWTClientConfigurationException e) {
|
} catch (JWTClientConfigurationException e) {
|
||||||
throw new JWTClientException("Failed to parse jwt configuration for tenant " + tenantDomain, 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);
|
addJWTClient(MultitenantConstants.SUPER_TENANT_DOMAIN_NAME, defaultJWTClient);
|
||||||
} catch (JWTClientAlreadyExistsException e) {
|
} catch (JWTClientAlreadyExistsException e) {
|
||||||
log.warn("Attempting to register a jwt client for the super tenant" +
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user