about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-10-14 21:08:37 +0200
committerGitHub <noreply@github.com>2021-10-14 21:08:37 +0200
commita8ef6d24d8a05ef3edde396b3d4d242ffcbbb746 (patch)
tree04a93242f03056bf93ae5b07eb66a0298bf686c8 /lib
parent32db7e4df65f7b5594fa533f1655e3632ba98042 (diff)
Fix `tootctl accounts cull` not excluding domains on timeouts and certificate issues (#16433)
Fixes #16410
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/accounts_cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb
index 050194801..16cdbd343 100644
--- a/lib/mastodon/accounts_cli.rb
+++ b/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