fix: Track Imap exception in sentry (#5397)

This commit is contained in:
Tejaswini Chile 2022-09-07 11:41:56 +05:30 committed by GitHub
parent afe31a3156
commit 6574407636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ module Api::V1::InboxesHelper
rescue StandardError => e
raise StandardError, e.message
ensure
Rails.logger.error e if e.present?
ChatwootExceptionTracker.new(e).capture_exception if e.present?
end
def check_smtp_connection(channel_data, smtp)