send to sent
This commit is contained in:
@@ -10,7 +10,7 @@ class Email::SendOnEmailService < Base::SendOnChannelService
|
||||
|
||||
reply_mail = ConversationReplyMailer.with(account: message.account).email_reply(message)
|
||||
reply_mail.deliver_now
|
||||
Rails.logger.info("Email message #{message.id} send with source_id: #{reply_mail.message_id}")
|
||||
Rails.logger.info("Email message #{message.id} sent with source_id: #{reply_mail.message_id}")
|
||||
message.update(source_id: reply_mail.message_id)
|
||||
rescue StandardError => e
|
||||
ChatwootExceptionTracker.new(e, account: message.account).capture_exception
|
||||
|
||||
Reference in New Issue
Block a user