jerryshao commented on code in PR #3943:
URL: https://github.com/apache/gravitino/pull/3943#discussion_r1686293485


##########
server/src/main/java/org/apache/gravitino/server/web/rest/ExceptionHandlers.java:
##########
@@ -519,6 +526,41 @@ public Response handle(OperationType op, String roles, 
String parent, Exception
     }
   }
 
+  private static class TagExceptionHandler extends BaseExceptionHandler {
+
+    private static final ExceptionHandler INSTANCE = new TagExceptionHandler();
+
+    private static String getTagErrorMsg(
+        String tag, String operation, String parent, String reason) {
+      return String.format(
+          "Failed to operate tag(s)%s operation [%s] under object [%s], reason 
[%s]",

Review Comment:
   I already formatted the code with `[]` in line 542.



-- 
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