divijvaidya commented on code in PR #12229: URL: https://github.com/apache/kafka/pull/12229#discussion_r903675795
########## clients/src/main/java/org/apache/kafka/common/protocol/types/CompactArrayOf.java: ########## @@ -119,7 +119,7 @@ public Object[] validate(Object item) { type.validate(obj); return array; } catch (ClassCastException e) { - throw new SchemaException("Not an Object[]."); + throw new SchemaException("Not an Object[].", e); Review Comment: I have fixed it as per your suggestion. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org