rajinisivaram commented on a change in pull request #9418: URL: https://github.com/apache/kafka/pull/9418#discussion_r511842783
########## File path: core/src/main/scala/kafka/common/RecordValidationException.scala ########## @@ -23,5 +23,6 @@ import org.apache.kafka.common.requests.ProduceResponse.RecordError import scala.collection.Seq class RecordValidationException(val invalidException: ApiException, - val recordErrors: Seq[RecordError]) extends RuntimeException { + val recordErrors: Seq[RecordError]) + extends RuntimeException(invalidException) { Review comment: I had only changed client-side code, so changes here wouldn't have conflicted. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org