X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f170663fc04b8cf69681ab7ef61a28381023b66..8bd001f1282b7a33a71c0565504e160dbe567d5d:/lib/osm.rb diff --git a/lib/osm.rb b/lib/osm.rb index 66428c13c..71e12534f 100644 --- a/lib/osm.rb +++ b/lib/osm.rb @@ -514,9 +514,9 @@ module OSM country = "GB" if country == "UK" end - return country + country rescue StandardError - return nil + nil end def self.ip_location(ip_address)