lib/pears/provider/remote_file.rb in pears-0.1.3 vs lib/pears/provider/remote_file.rb in pears-0.1.4
- old
+ new
@@ -10,10 +10,11 @@
rescue SocketError,
InvalidProviderData,
Errno::ECONNREFUSED,
Errno::EHOSTUNREACH,
- Errno::EADDRNOTAVAIL => e
+ Errno::EADDRNOTAVAIL,
+ Net::OpenTimeout => e
if on_failure == :null
@data = {}
else
raise e
end