chia7712 commented on pull request #9803:
URL: https://github.com/apache/kafka/pull/9803#issuecomment-752846372


   > The stack trace for StateChangeFailedException is useless since the 
exception is just used to propagate an error message to the state change logger.
   
   
https://github.com/apache/kafka/blob/afa5423356d3d2a2135a51200573b45d097f6d60/core/src/main/scala/kafka/controller/KafkaController.scala#L1208
 Does this case also propagate error message only? 
   
   For another, how about having a variety of ```logFailedStateChange``` which 
accepts error message (string) rather than ```Exception``` type?


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


Reply via email to