lib/fog/rackspace/service.rb in fog-maestrodev-1.18.0.20131121075022 vs lib/fog/rackspace/service.rb in fog-maestrodev-1.18.0.20131122203507
- old
+ new
@@ -64,10 +64,10 @@
response.body.is_a?(String) &&
!response.body.strip.empty? &&
Fog::Rackspace.json_response?(response)
begin
response.body = Fog::JSON.decode(response.body)
- rescue MultiJson::DecodeError => e
+ rescue Fog::JSON::DecodeError => e
Fog::Logger.warning("Error Parsing response json - #{e}")
response.body = {}
end
end
end