chore: handle more exceptions (#2793)
This commit is contained in:
parent
a065165bcb
commit
1f59205f20
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
module ExceptionList
|
||||
REST_CLIENT_EXCEPTIONS = [RestClient::NotFound, RestClient::GatewayTimeout, RestClient::BadRequest,
|
||||
RestClient::MethodNotAllowed, RestClient::Forbidden, RestClient::InternalServerError,
|
||||
RestClient::PayloadTooLarge, SocketError].freeze
|
||||
RestClient::Exceptions::OpenTimeout, RestClient::Exceptions::ReadTimeout, SocketError].freeze
|
||||
SMTP_EXCEPTIONS = [
|
||||
Net::SMTPSyntaxError
|
||||
].freeze
|
||||
|
|
Loading…
Reference in a new issue