Skip to content

Commit

Permalink
Raise errors on failed Internet Archive requests
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince authored Jan 21, 2025
1 parent 2c95d29 commit 9c24b95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internet_archive/capture.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def status
def connection
@connection ||= Faraday.new(BASE_URL, headers:) do |faraday|
faraday.response :json
faraday.response :raise_error
end
end

Expand Down

0 comments on commit 9c24b95

Please sign in to comment.