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 3d53b45..3043eb3 100644 (file)
@@ -384,7 +384,7 @@ module OSM
     end
 
     return nil
-  rescue
+  rescue Exception
     return nil
   end
 end