Ignore timeouts doing IP geolocation.
authorTom Hughes <tom@compton.nu>
Wed, 8 Aug 2007 21:09:26 +0000 (21:09 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 8 Aug 2007 21:09:26 +0000 (21:09 +0000)
lib/osm.rb

index 3d53b453a8b41f2e164dbdc42b36a8755045cb2c..3043eb395a7ad1d0c3687d301990717fa8fa9f2e 100644 (file)
@@ -384,7 +384,7 @@ module OSM
     end
 
     return nil
-  rescue
+  rescue Exception
     return nil
   end
 end