lib/utils/ssh.rb in lita-puppet-0.4.1 vs lib/utils/ssh.rb in lita-puppet-0.4.2
- old
+ new
@@ -19,10 +19,10 @@
output = begin
Timeout::timeout(opts[:timeout]) do
yield remote # pass our host back to the user to work with
end
- rescue Exception => e
+ rescue => e
exception = e
ensure
remote.disconnect
end