Stop trying to recover from this error (it doesn't work), but try logging

the event target.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4644 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2007-04-04 21:40:03 +00:00
parent 295633909e
commit 546c44c600
@@ -284,14 +284,9 @@ public class Communicator
} }
// total failure // total failure
Log.getLog(this).warning("socket error: " + event); Log.getLog(this).warning("socket error: " + event + ", target=" + event.target);
Log.dumpStack(); Log.dumpStack();
if (_socket.connected) { shutdown(new Error("socket closed unexpectedly."));
Log.getLog(this).info("Things seem ok. Ignoring.");
} else {
shutdown(new Error("socket closed unexpectedly."));
}
} }
/** /**