From 57e86005c0139ed4ab20c91ada48fd5d9da2d22a Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Fri, 21 Dec 2012 09:37:08 -0500 Subject: [PATCH] Don't rescue from StandardError. This code appears to be copied from the Freegeoip lookup, where it is undesirable to begin with. --- lib/geocoder/lookups/maxmind.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/geocoder/lookups/maxmind.rb b/lib/geocoder/lookups/maxmind.rb index 5f0912e0..79eecf9b 100644 --- a/lib/geocoder/lookups/maxmind.rb +++ b/lib/geocoder/lookups/maxmind.rb @@ -18,9 +18,6 @@ module Geocoder::Lookup warn "Maxmind error : #{doc[10]}" if doc return [] end - rescue StandardError => err - raise_error(err) - return [] end end -- GitLab