Include the proper number of parens... how did this get by?
This commit is contained in:
@@ -236,7 +236,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 ||
|
if (msg == null ||
|
||||||
(msg.indexOf("reset by peer") == -1 && msg.indexOf("Connection reset") == -1) {
|
(msg.indexOf("reset by peer") == -1 && msg.indexOf("Connection reset") == -1)) {
|
||||||
log.warning("Error reading message from socket", "channel", _channel, ioe);
|
log.warning("Error reading message from socket", "channel", _channel, ioe);
|
||||||
}
|
}
|
||||||
// deal with the failure
|
// deal with the failure
|
||||||
|
|||||||
Reference in New Issue
Block a user