Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore state which raises errors #26

Open
achempion opened this issue Sep 27, 2020 · 0 comments
Open

Ignore state which raises errors #26

achempion opened this issue Sep 27, 2020 · 0 comments

Comments

@achempion
Copy link

achempion commented Sep 27, 2020

I'm looking through the code and fund the loop cycle.

loop(%State{state | model: model, subscriptions: subscriptions})

Right now on any Exception it'll abort the window. I think user wants to get a message that something is wrong but probably we could avoid aborting the whole application and loosing all state here via loading the previous "working" state back.

Or at least allow to configure custom handler for this event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant