fix: Track Imap exception in sentry (#5397)
This commit is contained in:
parent
afe31a3156
commit
6574407636
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ module Api::V1::InboxesHelper
|
||||||
rescue StandardError => e
|
rescue StandardError => e
|
||||||
raise StandardError, e.message
|
raise StandardError, e.message
|
||||||
ensure
|
ensure
|
||||||
Rails.logger.error e if e.present?
|
ChatwootExceptionTracker.new(e).capture_exception if e.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_smtp_connection(channel_data, smtp)
|
def check_smtp_connection(channel_data, smtp)
|
||||||
|
|
Loading…
Reference in a new issue