diff options
Diffstat (limited to 'src/org/traccar/geocode/GoogleReverseGeocoder.java')
-rw-r--r-- | src/org/traccar/geocode/GoogleReverseGeocoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/geocode/GoogleReverseGeocoder.java b/src/org/traccar/geocode/GoogleReverseGeocoder.java index 9aebbf8a0..4ec6e10af 100644 --- a/src/org/traccar/geocode/GoogleReverseGeocoder.java +++ b/src/org/traccar/geocode/GoogleReverseGeocoder.java @@ -16,6 +16,7 @@ package org.traccar.geocode; import java.io.BufferedReader; +import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; @@ -49,7 +50,7 @@ public class GoogleReverseGeocoder implements ReverseGeocoder { reader.close(); - } catch(Exception error) { + } catch(IOException error) { Log.warning(error); } |