jerqi commented on code in PR #7971:
URL: https://github.com/apache/gravitino/pull/7971#discussion_r2265824463
##########
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:
The error message may be formatted in every type Handler. Do we need
formatted error message?
--
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]