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

Provide an option to crash on error / timeout? #2

Open
jducoeur opened this issue Jan 9, 2017 · 1 comment
Open

Provide an option to crash on error / timeout? #2

jducoeur opened this issue Jan 9, 2017 · 1 comment

Comments

@jducoeur
Copy link
Owner

jducoeur commented Jan 9, 2017

Suggestion from @jypma on Gitter: it would be in the spirit of Akka if I could set up my RequestM such that, if it errored in some unhandled way, that error got propagated in the receive loop and crashed the Actor.

This needs a bunch of design and thought, but I agree with the spirit of the idea, and it would reduce the likelihood of failures being silently missed.

@jducoeur
Copy link
Owner Author

jducoeur commented Jan 9, 2017

Actually, if we can reliably track which errors get explicitly handled, the ideal would probably be to automatically and always crash if we get an Exception back that is unhandled. (Rather than making it optional.)

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