Closed SujayPrabhu96 closed 1 year ago
With latest version of faraday (2.7.0) logging is breaking with undefined method pretty_inspect method
undefined method pretty_inspect
conn = Faraday.new(ENDPOINT) do |client| client.response :logger, nil, { headers: true, bodies: true } end
require 'pp'
pretty_inspect
Issue description
Steps to Reproduce
Basic Info
Issue description
With latest version of faraday (2.7.0) logging is breaking with
undefined method pretty_inspect
methodSteps to reproduce
Solution
require 'pp'
is must when usingpretty_inspect
which has been removed in https://github.com/lostisland/faraday/pull/1457CHECKLIST (delete before creating the issue)
Issue description
andSteps to Reproduce
sections.