I've just started playing around with SFS, looks very nice.
One thing that stung me was that the exceptions thrown from event listeners get swallowed.
So something like this...
Code: Select all
public void OnConnection(BaseEvent e) {
print("Connected: " + (string)e.Params["success"] );
print("Logging in");
sfs.Send(new LoginRequest("test", "", "SimpleChat") );
}
..left me scratching my head as to why I couldn't connect. It throws an InvalidCastException which never gets reported.
It would be nice if this was let through or logged.
[/code]