From 212d7caab18ec5c25c1820008389e910d311724a Mon Sep 17 00:00:00 2001 From: Tejaswini Chile Date: Mon, 26 Jun 2023 16:07:40 +0530 Subject: [PATCH] fix: log User is authenticated but not connected (#7394) --- app/jobs/inboxes/fetch_imap_emails_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/inboxes/fetch_imap_emails_job.rb b/app/jobs/inboxes/fetch_imap_emails_job.rb index f2f1bd2e9..8d3582440 100644 --- a/app/jobs/inboxes/fetch_imap_emails_job.rb +++ b/app/jobs/inboxes/fetch_imap_emails_job.rb @@ -10,7 +10,7 @@ class Inboxes::FetchImapEmailsJob < ApplicationJob rescue *ExceptionList::IMAP_EXCEPTIONS => e Rails.logger.error e 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 rescue StandardError => e ChatwootExceptionTracker.new(e, account: channel.account).capture_exception