diff --git a/server/src/main/java/org/elasticsearch/transport/InboundHandler.java b/server/src/main/java/org/elasticsearch/transport/InboundHandler.java index d7aa821b056..e5c01af1450 100644 --- a/server/src/main/java/org/elasticsearch/transport/InboundHandler.java +++ b/server/src/main/java/org/elasticsearch/transport/InboundHandler.java @@ -219,8 +219,10 @@ public class InboundHandler { response = handler.read(stream); response.remoteAddress(new TransportAddress(remoteAddress)); } catch (Exception e) { - handleException(handler, new TransportSerializationException( - "Failed to deserialize response from handler [" + handler + "]", e)); + final Exception serializationException = new TransportSerializationException( + "Failed to deserialize response from handler [" + handler + "]", e); + logger.warn(new ParameterizedMessage("Failed to deserialize response from [{}]", remoteAddress), serializationException); + handleException(handler, serializationException); return; } final String executor = handler.executor();