end
render :action => "results"
- rescue Exception => ex
+ rescue StandardError => ex
@error = "Error contacting rpc.geocoder.us: #{ex}"
render :action => "error"
end
end
render :action => "results"
- rescue Exception => ex
+ rescue StandardError => ex
@error = "Error contacting www.npemap.org.uk: #{ex}"
render :action => "error"
end
end
render :action => "results"
- rescue Exception => ex
+ rescue StandardError => ex
@error = "Error contacting geocoder.ca: #{ex}"
render :action => "error"
end
end
render :action => "results"
- # rescue Exception => ex
+ # rescue StandardError => ex
# @error = "Error contacting nominatim.openstreetmap.org: #{ex.to_s}"
# render :action => "error"
end
end
render :action => "results"
- rescue Exception => ex
+ rescue StandardError => ex
@error = "Error contacting ws.geonames.org: #{ex}"
render :action => "error"
end
end
render :action => "results"
- rescue Exception => ex
+ rescue StandardError => ex
@error = "Error contacting nominatim.openstreetmap.org: #{ex}"
render :action => "error"
end
end
render :action => "results"
- rescue Exception => ex
+ rescue StandardError => ex
@error = "Error contacting ws.geonames.org: #{ex}"
render :action => "error"
end