mansi75 opened a new pull request, #5632:
URL: https://github.com/apache/fineract/pull/5632

   ## Problem
   In `ClientApiResource.java`, the `getResolvedClientId` method throws a 
`ClientNotFoundException` using `resolvedClientId` variable. However, this 
block of code only executes when `resolvedClientId` is null, resulting in an 
unhelpful error message: "Client with identifier null does not exist."
   
   ## Fix
   Passed the `externalId` string to the exception instead of 
`resolvedClientId`, so the error message accurately reflects which external 
identifier failed to resolve.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to