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
|
// sanity check just because we can
|
||||||
if (rc == null) {
|
if (rc == null) {
|
||||||
log.warning("Unregistered client ended session " + client + ".");
|
log.warning("Unregistered client ended session " + client + ".", new Exception());
|
||||||
Thread.dumpStack();
|
|
||||||
} else if (rc != client) {
|
} else if (rc != client) {
|
||||||
log.warning("Different clients with same username!? " +
|
log.warning("Different clients with same username!? " +
|
||||||
"[c1=" + rc + ", c2=" + client + "].");
|
"[c1=" + rc + ", c2=" + client + "].");
|
||||||
|
|||||||
Reference in New Issue
Block a user