lib/cassette-rack/response.rb in cassette-rack-0.5.0 vs lib/cassette-rack/response.rb in cassette-rack-0.6.0
- old
+ new
@@ -48,9 +48,11 @@
@content = JSON.parse(body)
else
@content = body
end
end
+ rescue
+ @content = body
end
# end private
end
end