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

Make coronata resilient to exceptions thrown by observers #48

Open
awvalenti opened this issue Aug 11, 2017 · 0 comments
Open

Make coronata resilient to exceptions thrown by observers #48

awvalenti opened this issue Aug 11, 2017 · 0 comments
Milestone

Comments

@awvalenti
Copy link
Owner

Events fired by coronata are currently handled directly, on the same thread and without try/catches. This makes it very susceptible to errors. In particular, ButtonHandlerThread should keep running if buttonPressed or Released throws an exception.

Maybe EventsMediator should handle the exceptions.

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