Browse Source

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

Fixes #16410
main
Claire 7 months ago
committed by GitHub
parent
commit
a8ef6d24d8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/mastodon/accounts_cli.rb

2
lib/mastodon/accounts_cli.rb

@ -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

Loading…
Cancel
Save