-
Notifications
You must be signed in to change notification settings - Fork 70
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
Error upon non-existing places are unintuitive #68
Labels
Comments
The response of the particular query is |
I would think that returning the provided location with the error would provide necessary context. Would more be needed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following example;
This outputs
json: cannot unmarshal string into Go struct field CurrentWeatherData.cod of type int
as an error for the second CurrentByName call.Perhaps a more descriptive error message could be used here?
The text was updated successfully, but these errors were encountered: