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

using try+catch to prevent Fatal errors #179

Open
nekromoff opened this issue Sep 14, 2017 · 0 comments
Open

using try+catch to prevent Fatal errors #179

nekromoff opened this issue Sep 14, 2017 · 0 comments

Comments

@nekromoff
Copy link

This client is great!

However, since it communicates directly with API it must correct for the Fatal errors, since it otherwise crashes and ends the whole process.

Using try and catch blocks should be therefore mandatory in the code with a possible config option on how to behave.

  1. bubble Fatal errors up and halt
  2. prevent Fatal errors and continue
  3. contain Fatal errors and pass them to callback
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