features/support/dnsimple.rb in engineyard-dnsimple-0.2.0 vs features/support/dnsimple.rb in engineyard-dnsimple-0.3.0
- old
+ new
@@ -15,10 +15,11 @@
end
def create_dnsimple_domain(domain)
begin
::DNSimple::Commands::DeleteDomain.new.execute([domain])
- rescue
+ rescue => e
+ $stderr.puts e.message
end
::DNSimple::Commands::CreateDomain.new.execute([domain])
end
end
World(DNSimpleHelpers)
\ No newline at end of file