Fix: prevent IMAPBadResponse exception from sending the authorization mail (#7154)

This commit is contained in:
Tejaswini Chile
2023-05-22 13:51:56 +05:30
committed by GitHub
parent 0e903d2365
commit 590e4e9c1c
2 changed files with 4 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ module ExceptionList
].freeze
IMAP_EXCEPTIONS = [
Errno::ECONNREFUSED, Net::OpenTimeout, Net::IMAP::NoResponseError,
Errno::ECONNREFUSED, Net::OpenTimeout,
Errno::ECONNRESET, Errno::ENETUNREACH, Net::IMAP::ByeResponseError,
SocketError
].freeze