lib/pears/provider/remote_file.rb in pears-0.0.10 vs lib/pears/provider/remote_file.rb in pears-0.0.11
- old
+ new
@@ -9,10 +9,11 @@
@data = parse_yaml(yaml_data)
rescue SocketError,
InvalidProviderData,
Errno::ECONNREFUSED,
- Errno::EHOSTUNREACH => e
+ Errno::EHOSTUNREACH,
+ Errno::EADDRNOTAVAIL => e
if on_failure == :null
@data = {}
else
raise e
end