MINOR: add helpful error message
I noticed that replace thread actions would not be logged unless the user added a log in the handler. I think it would be very useful for debugging.
Reviewers: Guozhang Wang
@@ -498,6 +498,7 @@ public class KafkaStreams implements AutoCloseable {
}
switch (action) {
case REPLACE_THREAD:
+ log.error("Replacing thread in the streams uncaught exception handler", throwable);
replaceStreamThread(throwable);
break;
case SHUTDOWN_CLIENT:
