lostisland / faraday

Simple, but flexible HTTP client library, with support for multiple backends.
https://lostisland.github.io/faraday
MIT License
5.72k stars 972 forks source link

undefined method `pretty_inspect` in 2.7.0 #1462

Closed SujayPrabhu96 closed 1 year ago

SujayPrabhu96 commented 1 year ago

Basic Info

Issue description

With latest version of faraday (2.7.0) logging is breaking with undefined method pretty_inspect method

Steps to reproduce

conn = Faraday.new(ENDPOINT) do |client|
   client.response :logger, nil, { headers: true, bodies: true }
end

Solution

CHECKLIST (delete before creating the issue)