Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #371 from luqman/dns_made_easy

Rescue 404 when fetching zone
  • Loading branch information...
commit d25388bed6d13d1053fedcc8e39ef2e7ee89d56f 2 parents 0ca0df1 + ff4c129
Wesley Beary authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/fog/dns/models/dnsmadeeasy/zones.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.