hachikuji commented on a change in pull request #9418: URL: https://github.com/apache/kafka/pull/9418#discussion_r509740150
########## 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: Yeah, doesn't need to be done here. I just noticed the trace was missing when debugging a failure. ---------------------------------------------------------------- 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