-
Notifications
You must be signed in to change notification settings - Fork 714
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
Improved error handling #193
Comments
Hello @jasonab, Thanks for the feedback! We will definitely be refactoring the error handing system. Thanks for providing some specific feedback that we can consider while we do so. We will leave this ticket open so others can vote and comment, pushing the priority up. For now, you can do the following: https://github.com/sendgrid/sendgrid-python/blob/troubleshooting/TROUBLESHOOTING.md#error-messages |
Reference: #299 |
I am hoping to work on this issue, is it still open? |
Hi @ke2ulpatani, This issue has been addressed here. However, we are currently upgrading this SDK and would love your feedback. With Best Regards, Elmer |
Is there any beginner friendly issue in python or documentation? |
Hi @Logan1x, Yes! Please follow this search as we'll be adding new issues all throughout Hacktoberfest and beyond. With Best Regards, Elmer |
Issue Summary
Currently, all error handling is through raw returns of HTTP status codes. The library should throw standard Python exceptions on failure, hopefully giving error messages explaining what happened and why.
Technical details:
The text was updated successfully, but these errors were encountered: