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:
Michael Bayne
2008-06-29 11:07:36 +00:00
parent 85f269f3e6
commit d689839442
@@ -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 + "].");