From ba4c8a5f33d52f5a9c1045eb879a65e73cb54458 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Tue, 21 May 2024 11:19:15 -0400 Subject: [PATCH] Dont need module namespace --- lib/exceptions.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/exceptions.rb b/lib/exceptions.rb index 7cbcdbc35b1..1709157f0d1 100644 --- a/lib/exceptions.rb +++ b/lib/exceptions.rb @@ -38,14 +38,14 @@ module Mastodon HTTP_CONNECTION_ERRORS = [ Addressable::URI::InvalidURIError, + HostValidationError, HTTP::ConnectionError, HTTP::Error, HTTP::TimeoutError, IPAddr::AddressFamilyError, - Mastodon::HostValidationError, - Mastodon::LengthValidationError, - Mastodon::PrivateNetworkAddressError, - Mastodon::UnexpectedResponseError, + LengthValidationError, OpenSSL::SSL::SSLError, + PrivateNetworkAddressError, + UnexpectedResponseError, ].freeze end