lib/gooddata/connection.rb in gooddata-0.6.10 vs lib/gooddata/connection.rb in gooddata-0.6.11
- old
+ new
@@ -33,11 +33,11 @@
def with_connection(options = nil, second_options = nil, third_options = {}, &bl)
connection = connect(options, second_options, third_options)
bl.call(connection)
rescue Exception => e # rubocop:disable RescueException
- puts e.message
- raise e
+ puts e.message
+ raise e
ensure
disconnect
end
end
end