You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jg...@apache.org on 2018/04/16 20:43:57 UTC

[kafka] branch trunk updated: MINOR: Log the exception thrown by Selector.poll (#4873)

This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 4013767  MINOR: Log the exception thrown by Selector.poll (#4873)
4013767 is described below

commit 4013767d864a23c1a3eeb91806375525eb706649
Author: Chia-Ping Tsai <ch...@gmail.com>
AuthorDate: Tue Apr 17 04:43:54 2018 +0800

    MINOR: Log the exception thrown by Selector.poll (#4873)
---
 core/src/main/scala/kafka/network/SocketServer.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/kafka/network/SocketServer.scala b/core/src/main/scala/kafka/network/SocketServer.scala
index e4fdb08..d2ee084 100644
--- a/core/src/main/scala/kafka/network/SocketServer.scala
+++ b/core/src/main/scala/kafka/network/SocketServer.scala
@@ -630,7 +630,7 @@ private[kafka] class Processor(val id: Int,
       case e @ (_: IllegalStateException | _: IOException) =>
         // The exception is not re-thrown and any completed sends/receives/connections/disconnections
         // from this poll will be processed.
-        error(s"Processor $id poll failed due to illegal state or IO exception")
+        error(s"Processor $id poll failed", e)
     }
   }
 

-- 
To stop receiving notification emails like this one, please contact
jgus@apache.org.