Closed cburschka closed 7 years ago
These last two patches have finally added some exception handling to cadence.
Once they get introduced to the xmpp code as well (and specifically the event handlers), the client will no longer "crash" and we will finally (finally) have fixed the legendary #163 bug.
Done, as far as 2.0.0 is going to get at least.
Overhauling the xmpp module to give it contexts is something for the next version after that.
As outlined in #237 and #323, the eventual goal is to replace the current
chat
,ui
,xmpp
andvisual
globals with something that resembles MVC: ACadence
module that controls both the ui and the xmpp modules, where the latter is basically self-contained.Error messages would be handled more like exceptions - thrown up to the caller rather than being printed on the screen when they happen.
The nucleus of the new
Cadence
module is what is currentlychat
.