dajac commented on code in PR #15142: URL: https://github.com/apache/kafka/pull/15142#discussion_r1447125608
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorService.java: ########## @@ -1106,6 +1106,8 @@ private static boolean isGroupIdNotEmpty(String groupId) { * @return The Errors instance associated with the given exception. */ private static Errors normalizeException(Throwable exception) { + exception = Errors.maybeUnwrapException(exception); Review Comment: I found out that the `thenCompose` used in the runtime wraps the exception so we need to unwrap it here. I added a test for this too. -- 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