Log the details about error
We need stacktrace of the error to understand the root cause and to trouble shoot the underlying problem.
Reviewers: Guozhang Wang
@@ -439,7 +439,7 @@ public class FetchSessionHandler {
* @param t The exception.
*/
public void handleError(Throwable t) {
- log.info("Error sending fetch request {} to node {}: {}.", nextMetadata, node, t.toString());
+ log.info("Error sending fetch request {} to node {}: {}.", nextMetadata, node, t);
nextMetadata = nextMetadata.nextCloseExisting();
}
}
