FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Exception handling in response for potential error by AshishAshishA · Pull Request #517 · googlemaps/google-maps-services-python · GitHub

Exception handling in response for potential error - #517

Open
AshishAshishA wants to merge 1 commit into
googlemaps:masterfrom
AshishAshishA:patch-1
Open

Exception handling in response for potential error#517
AshishAshishA wants to merge 1 commit into
googlemaps:masterfrom
AshishAshishA:patch-1

Conversation

AshishAshishA commented Mar 22, 2024
edited
Loading

Copy link
Copy Markdown

Enhanced the directions function with error handling to manage potential errors during API requests, ensuring robustness and reliability in the application. Specific error messages from the Google Maps API are captured and raised as API-error exceptions for improved clarity on encountered issues.

Thank you for opening a Pull Request!


Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

Enhanced the directions function with error handling to manage potential errors during API requests, ensuring robustness and reliability in the application. Specific error messages from the Google Maps API are captured and raised as API-error exceptions for improved clarity on encountered issues.

google-cla Bot commented Mar 22, 2024

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL