Useful error reporting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4806 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -610,6 +610,11 @@ public class ConnectionManager extends LoopingThread
|
||||
log.log(Level.WARNING, "Failed to close listening socket.", ioe);
|
||||
}
|
||||
|
||||
// report if there's anything left on the outgoing message queue
|
||||
if (_outq.size() > 0) {
|
||||
log.warning("Connection Manager failed to deliver " + _outq.size() + " message(s).");
|
||||
}
|
||||
|
||||
// run our on-exit handler if we have one
|
||||
Runnable onExit = _onExit;
|
||||
if (onExit != null) {
|
||||
|
||||
Reference in New Issue
Block a user