This commit is contained in:
2023-11-22 17:55:41 +08:00
parent be24b5c60d
commit 4baa96155b

View File

@@ -85,6 +85,7 @@ class IpQueryService {
String search = searcher.search(ipaddr);
return search.replace("|0|", "").replace("|", "");
} catch (Exception e) {
log.warn("failed to search ip2region {}", ipaddr, e);
return "";
}
}