Dump a stack trace in a way that makes it into the logs.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@795 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-12-17 00:13:05 +00:00
parent a8421616f9
commit 382affd707
@@ -282,8 +282,7 @@ public class SpotSceneManager extends SceneManager
if (!_ssobj.occupantLocs.contains(sloc)) { if (!_ssobj.occupantLocs.contains(sloc)) {
// complain if they don't already have a location configured // complain if they don't already have a location configured
log.warning("Changing loc for occupant without previous loc [where=" + where() + log.warning("Changing loc for occupant without previous loc [where=" + where() +
", who=" + source.who() + ", nloc=" + loc + "]."); ", who=" + source.who() + ", nloc=" + loc + "].", new Exception());
Thread.dumpStack();
_ssobj.addToOccupantLocs(sloc); _ssobj.addToOccupantLocs(sloc);
} else { } else {
_ssobj.updateOccupantLocs(sloc); _ssobj.updateOccupantLocs(sloc);