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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user