fetching -> connecting to

pull/986/head
Jasper van Merle 6 years ago committed by GitHub
parent 11eeadbc0a
commit 3cb97f71b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -228,7 +228,7 @@ module Docs
if response.success?
response.body
else
reason = response.timed_out? ? "Timed out while fetching #{url}" : "Couldn't fetch #{url} (response code #{response.code})"
reason = response.timed_out? ? "Timed out while connecting to #{url}" : "Couldn't fetch #{url} (response code #{response.code})"
opts[:logger].error(reason)
raise reason
end

Loading…
Cancel
Save