justinmclean commented on code in PR #6037:
URL: https://github.com/apache/gravitino/pull/6037#discussion_r1900290235


##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/TagEntity.java:
##########
@@ -94,6 +97,9 @@ public void handle() {
       exitWithError(ErrorMessages.UNKNOWN_SCHEMA);
     } catch (NoSuchTableException err) {
       exitWithError(ErrorMessages.UNKNOWN_TABLE);
+    } catch (TagAlreadyAssociatedException tagAlreadyAssociatedException) {
+      exitWithError(
+          "[" + COMMA_JOINER.join(tags) + "]" + " are already associated with 
" + name.getName());

Review Comment:
   This is not entirely correct, as it could be a subset of those tags. Does 
the exception include the tag name? I'd also drop the brackets.



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