chore: Temporarily disable the disconnect logic for inboxes (#9321)

* chore: Temporarily disable the disconnect logic for inboxes

* Remove unused spec
This commit is contained in:
Pranav
2024-04-30 07:49:37 -07:00
committed by GitHub
parent 0856d76332
commit 2c3e7d6554
2 changed files with 0 additions and 11 deletions

View File

@@ -13,7 +13,6 @@ class Inboxes::FetchImapEmailsJob < MutexApplicationJob
end
rescue *ExceptionList::IMAP_EXCEPTIONS => e
Rails.logger.error "Authorization error for email channel - #{channel.inbox.id} : #{e.message}"
channel.authorization_error!
rescue EOFError, OpenSSL::SSL::SSLError, Net::IMAP::NoResponseError, Net::IMAP::BadResponseError, Net::IMAP::InvalidResponseError => e
Rails.logger.error "Error for email channel - #{channel.inbox.id} : #{e.message}"
rescue LockAcquisitionError