mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 19:17:48 +00:00 
			
		
		
		
	fix: Handle Net::IMAP::InvalidResponseError Exception bad response type "ESMTP" (#8755)
This commit is contained in:
		| @@ -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}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sojan Jose
					Sojan Jose