Add OpenSSL::SSL::SSLError to http connection errors wrapper (#32307)
This commit is contained in:
1 parent
e8ec6667bd
commit
258dce1256
19 files changed
+22
-21
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user