aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-01-07 22:04:01 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-01-07 22:04:01 +0200
commit3897d9418dcffe0db9b326661c7f8ef6a2da49ec (patch)
tree2188d62cdd8ae4e3766a9a79fb01ba39c9414434
parent90a88ff7584c9d4200f2a32800bf6eaf417955ac (diff)
downloadtraccar-server-3897d9418dcffe0db9b326661c7f8ef6a2da49ec.tar.gz
traccar-server-3897d9418dcffe0db9b326661c7f8ef6a2da49ec.tar.bz2
traccar-server-3897d9418dcffe0db9b326661c7f8ef6a2da49ec.zip
log error in geocoder
-rw-r--r--src/org/traccar/geocoder/JsonGeocoder.java2
1 files changed, 1 insertions, 1 deletions
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");
}