jerqi commented on code in PR #7971:
URL: https://github.com/apache/gravitino/pull/7971#discussion_r2265881610
##########
clients/client-java/src/main/java/org/apache/gravitino/client/ErrorHandlers.java:
##########
@@ -1085,6 +1085,9 @@ public ErrorResponse parseResponse(int code, String json,
ObjectMapper mapper) {
@Override
public void accept(ErrorResponse errorResponse) {
+ if (errorResponse.getCode() == ErrorConstants.FORBIDDEN_CODE) {
Review Comment:
Client handler doesn't need to format the error message. Sorry, I don't have
other comments.
--
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]