1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Dont need module namespace

This commit is contained in:
Matt Jankowski 2024-05-21 11:19:15 -04:00
parent 70deaee948
commit c1e6dc3056

View file

@ -38,14 +38,14 @@ module Mastodon
HTTP_CONNECTION_ERRORS = [ HTTP_CONNECTION_ERRORS = [
Addressable::URI::InvalidURIError, Addressable::URI::InvalidURIError,
HostValidationError,
HTTP::ConnectionError, HTTP::ConnectionError,
HTTP::Error, HTTP::Error,
HTTP::TimeoutError, HTTP::TimeoutError,
IPAddr::AddressFamilyError, IPAddr::AddressFamilyError,
Mastodon::HostValidationError, LengthValidationError,
Mastodon::LengthValidationError,
Mastodon::PrivateNetworkAddressError,
Mastodon::UnexpectedResponseError,
OpenSSL::SSL::SSLError, OpenSSL::SSL::SSLError,
PrivateNetworkAddressError,
UnexpectedResponseError,
].freeze ].freeze
end end