Changed a bunch of Thread.dumpStack() calls into stack traces properly logged

via the logging system.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@788 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2009-03-24 18:46:59 +00:00
parent fdfa3aa2e5
commit 8f6e10af8f
12 changed files with 37 additions and 50 deletions
@@ -38,8 +38,7 @@ public abstract class TimedPath implements Path
// sanity check some things
if (duration <= 0) {
log.warning("Requested path with illegal duration (<=0) " +
"[duration=" + duration + "]");
Thread.dumpStack();
"[duration=" + duration + "]", new Exception());
duration = 1; // assume something short but non-zero
}