Try ignoring the error...

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4639 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2007-03-30 22:03:59 +00:00
parent 77ff647b1a
commit d389b22cd5
@@ -286,7 +286,12 @@ public class Communicator
// total failure
Log.getLog(this).warning("socket error: " + event);
Log.dumpStack();
shutdown(new Error("socket closed unexpectedly."));
if (_socket.connected) {
Log.getLog(this).info("Things seem ok. Ignoring.");
} else {
shutdown(new Error("socket closed unexpectedly."));
}
}
/**