Log a stack trace if we're missing a translation message so that it's easy

to track down the offender.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1933 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-11-12 08:18:03 +00:00
parent 828fd80951
commit 58d728aa91
@@ -1,5 +1,5 @@
//
// $Id: MessageBundle.java,v 1.15 2002/11/10 03:14:45 mdb Exp $
// $Id: MessageBundle.java,v 1.16 2002/11/12 08:18:03 mdb Exp $
package com.threerings.util;
@@ -85,6 +85,7 @@ public class MessageBundle
if (reportMissing) {
Log.warning("Missing translation message " +
"[bundle=" + _path + ", key=" + key + "].");
Thread.dumpStack();
}
}
return null;