fix: Handle more rest client exceptions (#2930)
This commit is contained in:
parent
6563cccf34
commit
06d8916341
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ module ExceptionList
|
|||
REST_CLIENT_EXCEPTIONS = [RestClient::NotFound, RestClient::GatewayTimeout, RestClient::BadRequest,
|
||||
RestClient::MethodNotAllowed, RestClient::Forbidden, RestClient::InternalServerError,
|
||||
RestClient::Exceptions::OpenTimeout, RestClient::Exceptions::ReadTimeout,
|
||||
RestClient::MovedPermanently, SocketError].freeze
|
||||
RestClient::MovedPermanently, RestClient::ServiceUnavailable, Errno::ECONNREFUSED, SocketError].freeze
|
||||
SMTP_EXCEPTIONS = [
|
||||
Net::SMTPSyntaxError
|
||||
].freeze
|
||||
|
|
Loading…
Reference in a new issue