Wynntils

Wynntils

611k Downloads

Functions also need crash protection

magicus opened this issue ยท 6 comments

commented

We don't want to bring down the entire InfoBoxOverlay if a single function misbehaves

commented

Also, we should consider changing so FunctionManager do not call functions unless we are connected to the Wynncraft server.

commented

Note that #584 only solves the first part; functions are still not guarded by being connected to the wynncraft server.

I forgot that we have the command, and not only overlays. But wait.. Commands are only registered on wynn, same with overlay? Do we need this?

commented

Note that #584 only solves the first part; functions are still not guarded by being connected to the wynncraft server.

commented

Maybe we don't. It's just a bit of double safety I guess. (In Sweden, there is an expression of "wearing both suspenders and a belt")

commented

IMO if we ever get to call a function while not on wynn, we messed up smth earlier.

commented

Ok, I understand that position. Let's go with it.