mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
No http follow, more debug info on errors
This commit is contained in:
parent
ea467c1eef
commit
7198e788d1
1 changed files with 3 additions and 2 deletions
|
@ -62,8 +62,9 @@ class LetsEncryptWorker
|
|||
puts "testing #{challenge_url}"
|
||||
|
||||
begin
|
||||
res = HTTP.timeout(:global, write: 5, connect: 10, read: 10).follow.get(challenge_url)
|
||||
rescue
|
||||
res = HTTP.timeout(:global, write: 5, connect: 10, read: 10).get(challenge_url)
|
||||
rescue => e
|
||||
puts e.inspect
|
||||
puts "error with #{challenge_url}"
|
||||
next
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue