graphhopper / directions-api-java-client

Deprecated Repo for the Java and Android client for the GraphHopper Directions API
https://github.com/graphhopper/directions-api-clients
27 stars 18 forks source link

Better error handling #35

Open karussell opened 7 years ago

karussell commented 7 years ago

Instead of just "bad request" the client should print the detailed message

Current workaround something like:

System.out.println(exception.getResponseBody().toString());

boldtrn commented 7 years ago

This is for the swagger generated client, isn't it?

karussell commented 7 years ago

Yes, currently just the geocoding ... related/duplicate issue: https://github.com/graphhopper/directions-api-clients-route-optimization/issues/6