Skip to content

Commit 4237fd4

Browse files
authored
Update the "debugging" sample code in README.md (#1724)
Update README.md Update the sample code for enabling HTTP debugging in Faraday
1 parent 5fcf9bf commit 4237fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ traffic:
597597

598598
```ruby
599599
stack = Faraday::RackBuilder.new do |builder|
600-
builder.use Faraday::Retry::Middleware, exceptions: Faraday::Request::Retry::DEFAULT_EXCEPTIONS + [Octokit::ServerError] # or Faraday::Request::Retry for Faraday < 2.0
600+
builder.use Faraday::Retry::Middleware, exceptions: Faraday::Retry::Middleware::DEFAULT_EXCEPTIONS + [Octokit::ServerError] # or Faraday::Request::Retry for Faraday < 2.0
601601
builder.use Octokit::Middleware::FollowRedirects
602602
builder.use Octokit::Response::RaiseError
603603
builder.use Octokit::Response::FeedParser

0 commit comments

Comments
 (0)