Functions also need crash protection
magicus opened this issue ยท 6 comments
We don't want to bring down the entire InfoBoxOverlay if a single function misbehaves
Also, we should consider changing so FunctionManager do not call functions unless we are connected to the Wynncraft server.
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?
Note that #584 only solves the first part; functions are still not guarded by being connected to the wynncraft server.
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")
IMO if we ever get to call a function while not on wynn, we messed up smth earlier.