From 4f41df9fabf3c40108e20d32f121251af34595d9 Mon Sep 17 00:00:00 2001 From: Rashmini Date: Mon, 25 Sep 2023 14:10:03 +0530 Subject: [PATCH] Change error log to debug log --- .../rest/api/user/recovery/v2/impl/core/utils/RecoveryUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/src/main/java/org/wso2/carbon/identity/rest/api/user/recovery/v2/impl/core/utils/RecoveryUtil.java b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/src/main/java/org/wso2/carbon/identity/rest/api/user/recovery/v2/impl/core/utils/RecoveryUtil.java index ebe0b101f..7df73b626 100644 --- a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/src/main/java/org/wso2/carbon/identity/rest/api/user/recovery/v2/impl/core/utils/RecoveryUtil.java +++ b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/src/main/java/org/wso2/carbon/identity/rest/api/user/recovery/v2/impl/core/utils/RecoveryUtil.java @@ -261,7 +261,7 @@ private static String getContext(String tenantDomain, String endpoint, String ba private static ErrorResponse buildErrorResponse(IdentityRecoveryException e, String errorCode, String errorMessage, String errorDescription) { - ErrorResponse errorResponse = getErrorBuilder(errorCode, errorMessage, errorDescription).build(log, e, + ErrorResponse errorResponse = getErrorBuilder(errorCode, errorMessage, errorDescription).build(log, errorMessage); return errorResponse; }