X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f170663fc04b8cf69681ab7ef61a28381023b66..3b75e9241507c0672dabaec44ecb83148df979b6:/lib/osm.rb?ds=sidebyside 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)