Skip to content

Conversation

@jguthrie100
Copy link

  • When doing a directions search, if you enter an invalid address (i.e. 'dsadsfdfdscfrcerf, Tanzania'), a GoogleMapsService::Error::NotFoundError is raised

 - When doing a directions search, if you enter an invalid address (i.e. 'dsadsfdfdscfrcerf, Tanzania'), a NotFoundError is raised
@jguthrie100
Copy link
Author

I found that entering a bad address in the directions API just returns a standard ApiError. I thought it would be nice to have something a bit more specific

(https://developers.google.com/maps/documentation/javascript/directions#DirectionsStatus)

@coveralls
Copy link

coveralls commented Jun 3, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 93151a3 on jguthrie100:add_not_found_error into 46746fd on edwardsamuel:master.

Copy link
Owner

@edwardsamuel edwardsamuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @jguthrie100!

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.

3 participants