aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geocoder/GoogleGeocoder.java
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-01-08 01:26:29 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-01-08 01:26:29 +0200
commitcca181a4a70ca729c981bb9c62242042698c7476 (patch)
treec37b3ea49dba83935a78f8532709aa65b433027e /src/org/traccar/geocoder/GoogleGeocoder.java
parent4d7ba34ddc16a01858d9d18e703be241494dea56 (diff)
downloadtrackermap-server-cca181a4a70ca729c981bb9c62242042698c7476.tar.gz
trackermap-server-cca181a4a70ca729c981bb9c62242042698c7476.tar.bz2
trackermap-server-cca181a4a70ca729c981bb9c62242042698c7476.zip
log error in GoogleGeocoder
Diffstat (limited to 'src/org/traccar/geocoder/GoogleGeocoder.java')
-rw-r--r--src/org/traccar/geocoder/GoogleGeocoder.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/traccar/geocoder/GoogleGeocoder.java b/src/org/traccar/geocoder/GoogleGeocoder.java
index af9b58a90..23a08b6e2 100644
--- a/src/org/traccar/geocoder/GoogleGeocoder.java
+++ b/src/org/traccar/geocoder/GoogleGeocoder.java
@@ -90,4 +90,9 @@ public class GoogleGeocoder extends JsonGeocoder {
return null;
}
+ @Override
+ protected String getError(JsonObject json) {
+ return json.getString("error_message");
+ }
+
}