lib/fog/rackspace/block_storage.rb in fog-maestrodev-1.15.0.20130829165835 vs lib/fog/rackspace/block_storage.rb in fog-maestrodev-1.15.0.20130927082724
- old
+ new
@@ -85,11 +85,11 @@
@persistent = options[:persistent] || false
@connection = Fog::Connection.new(endpoint_uri.to_s, @persistent, @connection_options)
end
- def request(params, parse_json = true, &block)
- super(params, parse_json, &block)
+ def request(params, parse_json = true)
+ super
rescue Excon::Errors::NotFound => error
raise NotFound.slurp(error, self)
rescue Excon::Errors::BadRequest => error
raise BadRequest.slurp(error, self)
rescue Excon::Errors::InternalServerError => error