1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Rescue 404 when fetching zone

This commit is contained in:
Luqman Amjad 2011-06-21 23:43:52 +01:00
parent 0ca0df13b7
commit ff4c129939

View file

@ -19,7 +19,7 @@ module Fog
data = connection.get_domain(zone_id).body
data.merge!(:id => data['name'])
new(data)
rescue Excon::Errors::NotFound
rescue Fog::Service::NotFound
nil
end