[
https://issues.apache.org/jira/browse/FINERACT-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065867#comment-18065867
]
Awaneet Mishra commented on FINERACT-2529:
------------------------------------------
Great work on the PR, Mansi! Glad we could get this resolved.
> ClientNotFoundException passes null ID in getResolvedClientId
> -------------------------------------------------------------
>
> Key: FINERACT-2529
> URL: https://issues.apache.org/jira/browse/FINERACT-2529
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Awaneet Mishra
> Priority: Major
>
> In {{{}ClientApiResource.java{}}}, the {{getResolvedClientId}} method throws
> a {{ClientNotFoundException}} using the {{resolvedClientId}} variable.
> However, this block of code only executes when {{resolvedClientId}} is null,
> resulting in an unhelpful error message. *Proposed fix:* Pass the external
> identifier string to the exception instead to provide accurate debugging
> context.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)