justinmclean opened a new issue, #8157:
URL: https://github.com/apache/gravitino/issues/8157
### What would you like to be improved?
In
clients/cli/src/main/java/org/apache/gravitino/cli/commands/RoleDetails.java
```
try {
GravitinoClient client = buildClient(metalake);
objects = client.getRole(role).securableObjects();
} catch (NoSuchMetalakeException err) {
exitWithError(ErrorMessages.UNKNOWN_METALAKE);
} catch (NoSuchUserException err) {
exitWithError(ErrorMessages.UNKNOWN_GROUP);
} catch (Exception exp) {
exitWithError(exp.getMessage());
}
```
### How should we improve?
The NoSuchUserException is exiting with error ErrorMessages.UNKNOWN_GROUP,
but should be about the role.
--
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]