We can log something useful in this case.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5413 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -198,8 +198,7 @@ public class PresentsClient
|
|||||||
// switching, so freak out
|
// switching, so freak out
|
||||||
if (_clobj == null) {
|
if (_clobj == null) {
|
||||||
log.warning("Client disappeared before we could complete the switch to a " +
|
log.warning("Client disappeared before we could complete the switch to a " +
|
||||||
"new client object [ousername=" + _username +
|
"new client object", "ousername", _username, "nusername", username);
|
||||||
", nusername=" + username + "].");
|
|
||||||
_clmgr.releaseClientObject(username);
|
_clmgr.releaseClientObject(username);
|
||||||
Exception error = new Exception("Early withdrawal");
|
Exception error = new Exception("Early withdrawal");
|
||||||
resolutionFailed(username, error);
|
resolutionFailed(username, error);
|
||||||
@@ -682,7 +681,8 @@ public class PresentsClient
|
|||||||
if (conn != null) {
|
if (conn != null) {
|
||||||
data.connectionId = conn.getConnectionId();
|
data.connectionId = conn.getConnectionId();
|
||||||
} else {
|
} else {
|
||||||
log.warning("Client connection disappeared before we could send bootstrap response.");
|
log.warning("Connection disappeared before we could send bootstrap response.",
|
||||||
|
"client", this);
|
||||||
return; // stop here as we're just going to throw away this bootstrap
|
return; // stop here as we're just going to throw away this bootstrap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user