diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-10-14 21:08:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 21:08:37 +0200 |
commit | a8ef6d24d8a05ef3edde396b3d4d242ffcbbb746 (patch) | |
tree | 04a93242f03056bf93ae5b07eb66a0298bf686c8 /lib | |
parent | 32db7e4df65f7b5594fa533f1655e3632ba98042 (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.rb | 2 |
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 |