utils/tester.rb in devdnsd-2.1.0 vs utils/tester.rb in devdnsd-2.2.0
- old
+ new
@@ -88,10 +88,10 @@
rv = case rv.length
when 0 then nil
when 1 then rv[0]
else rv
end
- rescue Exception => e
+ rescue => e
logger.error("[#{e.class}] #{e.to_s}")
end
File.unlink(tmpfile) if File.exists?(tmpfile)
logger.info("Resolving ended with result: #{rv.inspect}")
\ No newline at end of file