We should always wrap calls to usercode with a try/catch. Check.

We should always log any errors thrown from usercode. Oops.
Fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@517 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-12-07 03:50:27 +00:00
parent daec25d27c
commit 812feab5b5
@@ -420,7 +420,8 @@ public class GameControlBackend
try {
fn(ObjectMarshaller.decode(cookie.cookie));
} catch (err :Error) {
// cope
log.warning("Error in user-code: " + err);
log.logStackTrace(err);
}
}
}