Browse Source

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

Fixes #16410
closed-social-glitch-2
Claire 3 years ago
committed by GitHub
parent
commit
a8ef6d24d8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/mastodon/accounts_cli.rb

+ 1
- 1
lib/mastodon/accounts_cli.rb View File

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

Loading…
Cancel
Save