Closed kaoskorobase closed 7 years ago
The latest commit should hopefully fix this. This bug is the same as #145 . I'm closing this one, and would like to refer you to the other instance for further discussion. ✈️
EDIT: And thank you nonetheless for reporting it in the first place, of course!
Exceptions raised in the UI monad, e.g. via
fail
orliftIO . throwIO
seem to silently interrupt the web socket connection with a 1006 error code (in Chrome on OSX with threepenny-gui version 0.7.0.0). This can be reproduced by raising an exception in the setup function or in an event handler.For example the following setup function
Produces:
It would be useful for debugging to at least print uncaught exceptions and errors to the console or even to terminate the application.
Possibly related to #129.