From: Claire Date: Thu, 14 Oct 2021 19:08:37 +0000 (+0200) Subject: Fix `tootctl accounts cull` not excluding domains on timeouts and certificate issues... X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=a8ef6d24d8a05ef3edde396b3d4d242ffcbbb746;p=mastodon.git Fix `tootctl accounts cull` not excluding domains on timeouts and certificate issues (#16433) Fixes #16410 --- 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