aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geocoder/GoogleGeocoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-08 10:11:37 -0800
committerGitHub <noreply@github.com>2019-01-08 10:11:37 -0800
commit1d10aeb4671943f851026cb248e7ef24a022174c (patch)
tree8280cc24940bfd4ef3b0f12d9ca464d6a1e31735 /src/org/traccar/geocoder/GoogleGeocoder.java
parent90a88ff7584c9d4200f2a32800bf6eaf417955ac (diff)
parent2bf57a222e2c173df13e4816efb62dfe0f371bfa (diff)
downloadtrackermap-server-1d10aeb4671943f851026cb248e7ef24a022174c.tar.gz
trackermap-server-1d10aeb4671943f851026cb248e7ef24a022174c.tar.bz2
trackermap-server-1d10aeb4671943f851026cb248e7ef24a022174c.zip
Merge pull request #4181 from flocsy/log-battery
Small improvements to logging
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..9494cab45 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 parseError(JsonObject json) {
+ return json.getString("error_message");
+ }
+
}