Log a newly created exception to obtain our stack trace instead of using
Thread.dumpStack() which goes directly to stderr rather than through the logging system. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5198 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -468,8 +468,7 @@ public class ClientManager
|
||||
|
||||
// sanity check just because we can
|
||||
if (rc == null) {
|
||||
log.warning("Unregistered client ended session " + client + ".");
|
||||
Thread.dumpStack();
|
||||
log.warning("Unregistered client ended session " + client + ".", new Exception());
|
||||
} else if (rc != client) {
|
||||
log.warning("Different clients with same username!? " +
|
||||
"[c1=" + rc + ", c2=" + client + "].");
|
||||
|
||||
Reference in New Issue
Block a user