From 1f59205f200f40af915148607823344e17422e2b Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Thu, 12 Aug 2021 01:32:22 +0530 Subject: [PATCH] chore: handle more exceptions (#2793) --- lib/exception_list.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exception_list.rb b/lib/exception_list.rb index 79436eb07..402523486 100644 --- a/lib/exception_list.rb +++ b/lib/exception_list.rb @@ -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