fix: log User is authenticated but not connected (#7394)
This commit is contained in:
@@ -10,7 +10,7 @@ class Inboxes::FetchImapEmailsJob < ApplicationJob
|
|||||||
rescue *ExceptionList::IMAP_EXCEPTIONS => e
|
rescue *ExceptionList::IMAP_EXCEPTIONS => e
|
||||||
Rails.logger.error e
|
Rails.logger.error e
|
||||||
channel.authorization_error!
|
channel.authorization_error!
|
||||||
rescue EOFError, OpenSSL::SSL::SSLError, Net::IMAP::NoResponseError => e
|
rescue EOFError, OpenSSL::SSL::SSLError, Net::IMAP::NoResponseError, Net::IMAP::BadResponseError => e
|
||||||
Rails.logger.error e
|
Rails.logger.error e
|
||||||
rescue StandardError => e
|
rescue StandardError => e
|
||||||
ChatwootExceptionTracker.new(e, account: channel.account).capture_exception
|
ChatwootExceptionTracker.new(e, account: channel.account).capture_exception
|
||||||
|
|||||||
Reference in New Issue
Block a user