For the Central endpoints tools/{toolsIdPath} and tools/{toolsIdPath}/{version}, when the tooldIdPath does not exist the error message is not appropriate.
{
"message": "unexpected error occured while searching for org name of tool id: edi"
}
It should be updated to denote that the tool does not exist.
Steps to reproduce:
Send a GET request to the endpoint https://api.dev-central.ballerina.io/2.0/registry/tools/nonexistant.
@gayaldassanayake cloned issue wso2-enterprise/ballerina-registry#2177 on 2023-08-11: