X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..baf10cd39289cd7e94a819305e46f43e85a136c6:/lib/nominatim.rb diff --git a/lib/nominatim.rb b/lib/nominatim.rb index 10eac78e5..c5d60cebd 100644 --- a/lib/nominatim.rb +++ b/lib/nominatim.rb @@ -12,7 +12,7 @@ module Nominatim response = OSM::Timer.timeout(4) do REXML::Document.new(Net::HTTP.get(URI.parse(url))) end - rescue Exception + rescue StandardError response = nil end