This PR reverts the temporary fix and allows an exception to be thrown instead of a warn log.
With this change, the SOAP API will be able to identify the failure of the operation and return the status as 500 Internal Server Error along with the error message.
Purpose
Previously, when addressing https://github.com/wso2/product-is/issues/14095, the updateRoleName method's was changed to print a warn log instead of throwing an exception via https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/pull/435, which was a temporary fix which had not been reverted even after a proper fix was added.
This PR reverts the temporary fix and allows an exception to be thrown instead of a warn log.
With this change, the SOAP API will be able to identify the failure of the operation and return the status as 500 Internal Server Error along with the error message.
Related PRs
Related Issues