diff --git a/app/helpers/api/v1/inboxes_helper.rb b/app/helpers/api/v1/inboxes_helper.rb index c88f2fb73..57b750274 100644 --- a/app/helpers/api/v1/inboxes_helper.rb +++ b/app/helpers/api/v1/inboxes_helper.rb @@ -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)