fix: Handle Net::IMAP::InvalidResponseError Exception bad response type "ESMTP" (#8755)
This commit is contained in:
parent
d2c5c2f9a3
commit
bc04d81a5a
@ -12,7 +12,7 @@ class Inboxes::FetchImapEmailsJob < MutexApplicationJob
|
||||
rescue *ExceptionList::IMAP_EXCEPTIONS => e
|
||||
Rails.logger.error e
|
||||
channel.authorization_error!
|
||||
rescue EOFError, OpenSSL::SSL::SSLError, Net::IMAP::NoResponseError, Net::IMAP::BadResponseError => e
|
||||
rescue EOFError, OpenSSL::SSL::SSLError, Net::IMAP::NoResponseError, Net::IMAP::BadResponseError, Net::IMAP::InvalidResponseError => e
|
||||
Rails.logger.error e
|
||||
rescue LockAcquisitionError
|
||||
Rails.logger.error "Lock failed for #{channel.inbox.id}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user