]> cat aescling's git repositories - mastodon.git/commitdiff
Fix `tootctl accounts cull` not excluding domains on timeouts and certificate issues...
authorClaire <claire.github-309c@sitedethib.com>
Thu, 14 Oct 2021 19:08:37 +0000 (21:08 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Oct 2021 19:08:37 +0000 (21:08 +0200)
Fixes #16410

lib/mastodon/accounts_cli.rb

index 050194801627a8b17ac9ec4439d66f5694ce4ce1..16cdbd343f34ca553a7ef8aead2d0959987bbf2e 100644 (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