Permalink
Browse files

Merge pull request #371 from luqman/dns_made_easy

Rescue 404 when fetching zone
  • Loading branch information...
2 parents 0ca0df1 + ff4c129 commit d25388bed6d13d1053fedcc8e39ef2e7ee89d56f Wesley Beary committed Jun 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fog/dns/models/dnsmadeeasy/zones.rb
@@ -19,7 +19,7 @@ def get(zone_id)
data = connection.get_domain(zone_id).body
data.merge!(:id => data['name'])
new(data)
- rescue Excon::Errors::NotFound
+ rescue Fog::Service::NotFound
nil
end

0 comments on commit d25388b

Please sign in to comment.