diff --git a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java index 0a8c2541..b59136d7 100644 --- a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java +++ b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java @@ -105,9 +105,7 @@ private static void removeExistingAuthReqIdAttribute(ConsentResource consentReso currentConsentAttributes = ConsentExtensionsDataHolder.getInstance() .getConsentCoreService().getConsentAttributes(consentResource.getConsentID()); } catch (ConsentManagementException e) { - if (log.isDebugEnabled()) { - log.debug("Error while retrieving consent attributes.", e); - } + log.debug("Error while retrieving consent attributes.", e); } // Remove if existing aut_req_id is already in attributes. if (currentConsentAttributes != null &&