lib/fog/aws/models/dns/zones.rb in fog-1.3.1 vs lib/fog/aws/models/dns/zones.rb in fog-1.4.0
- old
+ new
@@ -20,10 +20,10 @@
end
def get(zone_id)
data = connection.get_hosted_zone(zone_id).body
new(data)
- rescue Excon::Errors::Forbidden
+ rescue Excon::Errors::NotFound
nil
end
end