It's probably worth including the stack trace for this warning, since it
can come from various different places. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6466 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -237,7 +237,7 @@ public class PresentsConnection extends Connection
|
|||||||
// don't log a warning for the ever-popular "the client dropped the connection" failure
|
// don't log a warning for the ever-popular "the client dropped the connection" failure
|
||||||
String msg = ioe.getMessage();
|
String msg = ioe.getMessage();
|
||||||
if (msg == null || msg.indexOf("reset by peer") == -1) {
|
if (msg == null || msg.indexOf("reset by peer") == -1) {
|
||||||
log.warning("Error reading message from socket", "channel", _channel, "error", ioe);
|
log.warning("Error reading message from socket", "channel", _channel, ioe);
|
||||||
}
|
}
|
||||||
// deal with the failure
|
// deal with the failure
|
||||||
networkFailure(ioe);
|
networkFailure(ioe);
|
||||||
|
|||||||
Reference in New Issue
Block a user