Add OpenSSL::SSL::SSLError to http connection errors wrapper (#32307)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-10-08 14:59:51 +00:00
1 parent e8ec6667bd
commit 258dce1256
19 files changed
+22 -21

No files matched your search

+1 -1
View File
@@ -305,7 +305,7 @@ module Mastodon::CLI
begin
code = Request.new(:head, account.uri).perform(&:code)
rescue *Mastodon::HTTP_CONNECTION_ERRORS, OpenSSL::SSL::SSLError, Mastodon::PrivateNetworkAddressError
rescue *Mastodon::HTTP_CONNECTION_ERRORS, Mastodon::PrivateNetworkAddressError
skip_domains << account.domain
end