Fix `tootctl accounts cull` not excluding domains on timeouts and certificate issues (#16433)

Fixes #16410
lolsob-rspec
Claire 2021-10-14 21:08:37 +02:00 committed by GitHub
parent 0d22d79590
commit f940e4871d
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ module Mastodon
begin
code = Request.new(:head, account.uri).perform(&:code)
rescue HTTP::ConnectionError
rescue HTTP::TimeoutError, HTTP::ConnectionError, OpenSSL::SSL::SSLError
skip_domains << account.domain
end