Throw an error if something booches talking to EZGame. The user

will see a stack trace originating in the EZGameControl, hopefully
with a useful message.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@228 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-03-06 19:04:11 +00:00
parent 0af2789c7b
commit d38c43cd5b
@@ -585,9 +585,7 @@ public class EZGameControl extends BaseControl
return func.apply(null, args); return func.apply(null, args);
} }
} catch (err :Error) { } catch (err :Error) {
trace("Unable to call ez code: " + err); throw new Error("Unable to call host code: " + err.message);
trace(err.getStackTrace());
//Log.testing(err.getStackTrace());
} }
} else { } else {