lib/httpx/errors.rb in httpx-0.10.0 vs lib/httpx/errors.rb in httpx-0.10.1

- old
+ new

@@ -39,10 +39,10 @@ HTTPError = Class.new(Error) do attr_reader :response def initialize(response) @response = response - super("HTTP Error: #{@response.status}") + super("HTTP Error: #{@response.status} #{@response.headers}\n#{@response.body}") end def status @response.status end