From c9349172249f450252687744e5677484dc4c1ffa Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 20 May 2026 01:03:52 +0300 Subject: [PATCH] doxing graph fix 2 --- src/main/java/app/services/io/readers/GeoIP.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/app/services/io/readers/GeoIP.java b/src/main/java/app/services/io/readers/GeoIP.java index 7b92ca9..1568f16 100644 --- a/src/main/java/app/services/io/readers/GeoIP.java +++ b/src/main/java/app/services/io/readers/GeoIP.java @@ -29,15 +29,15 @@ public class GeoIP extends BaseReader { public String GetCountry(String ip) { try { return databaseReader.country(InetAddress.getByName(ip)).getCountry().getName(); - } catch (GeoIp2Exception | IOException e) { + } catch (Exception e) { return "Unknown"; } } public String GetCity(String ip) { try { - return databaseReader.city(InetAddress.getByName(ip)).getCountry().getName(); - } catch (GeoIp2Exception | IOException e) { + return databaseReader.city(InetAddress.getByName(ip)).getCity().getName(); + } catch (Exception e) { return "Unknown"; } }