From a8ef6d24d8a05ef3edde396b3d4d242ffcbbb746 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 14 Oct 2021 21:08:37 +0200 Subject: [PATCH] Fix `tootctl accounts cull` not excluding domains on timeouts and certificate issues (#16433) Fixes #16410 --- lib/mastodon/accounts_cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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