chore: Minor API cleanups (#3645)
- exception list updated - revert mail presenter changes
This commit is contained in:
parent
c57c975a0d
commit
13d6734977
3 changed files with 25 additions and 77 deletions
|
@ -2,6 +2,8 @@ module ExceptionList
|
|||
REST_CLIENT_EXCEPTIONS = [RestClient::NotFound, RestClient::GatewayTimeout, RestClient::BadRequest,
|
||||
RestClient::MethodNotAllowed, RestClient::Forbidden, RestClient::InternalServerError,
|
||||
RestClient::Exceptions::OpenTimeout, RestClient::Exceptions::ReadTimeout,
|
||||
RestClient::TemporaryRedirect, RestClient::SSLCertificateNotVerified, RestClient::PaymentRequired,
|
||||
RestClient::BadGateway, RestClient::Unauthorized, RestClient::PayloadTooLarge,
|
||||
RestClient::MovedPermanently, RestClient::ServiceUnavailable, Errno::ECONNREFUSED, SocketError].freeze
|
||||
SMTP_EXCEPTIONS = [
|
||||
Net::SMTPSyntaxError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue