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 <chia7...@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
j...@apache.org.

Reply via email to