From 3897d9418dcffe0db9b326661c7f8ef6a2da49ec Mon Sep 17 00:00:00 2001 From: Gavriel Fleischer Date: Mon, 7 Jan 2019 22:04:01 +0200 Subject: log error in geocoder --- src/org/traccar/geocoder/JsonGeocoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') diff --git a/src/org/traccar/geocoder/JsonGeocoder.java b/src/org/traccar/geocoder/JsonGeocoder.java index 80123e01e..9157297bf 100644 --- a/src/org/traccar/geocoder/JsonGeocoder.java +++ b/src/org/traccar/geocoder/JsonGeocoder.java @@ -65,7 +65,7 @@ public abstract class JsonGeocoder implements Geocoder { return formattedAddress; } else { if (callback != null) { - callback.onFailure(new GeocoderException("Empty address")); + callback.onFailure(new GeocoderException("Empty address. " + json.getString("error_message"))); } else { LOGGER.warn("Empty address"); } -- cgit v1.2.3