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

Sliderule client should display http errors on failed requests #26

Closed
jpswinski opened this issue Aug 19, 2020 · 1 comment
Closed

Sliderule client should display http errors on failed requests #26

jpswinski opened this issue Aug 19, 2020 · 1 comment

Comments

@jpswinski
Copy link
Member

The sliderule.py client currently does not display (even when verbose set to true) any http level errors like "Not Found" or "Bad Request" when those errors occur. It just fails silently.

@jpswinski
Copy link
Member Author

The SlideRule Python client now catches three types of TCP/IP errors:

  • ConnectionError
  • HTTPError
  • Timeout

It prints a user-friendly message to the user when one of these errors is caught.

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