From 8629e37b6ce63c0e2483d5d882ac08bc4ac448f4 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 2 Oct 2008 17:49:45 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/presents/server/PresentsClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/presents/server/PresentsClient.java b/src/java/com/threerings/presents/server/PresentsClient.java index 5b4ebce8f..84a1154e1 100644 --- a/src/java/com/threerings/presents/server/PresentsClient.java +++ b/src/java/com/threerings/presents/server/PresentsClient.java @@ -198,8 +198,7 @@ public class PresentsClient // switching, so freak out if (_clobj == null) { log.warning("Client disappeared before we could complete the switch to a " + - "new client object [ousername=" + _username + - ", nusername=" + username + "]."); + "new client object", "ousername", _username, "nusername", username); _clmgr.releaseClientObject(username); Exception error = new Exception("Early withdrawal"); resolutionFailed(username, error); @@ -682,7 +681,8 @@ public class PresentsClient if (conn != null) { data.connectionId = conn.getConnectionId(); } 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 }