send to sent

This commit is contained in:
Pranav
2025-10-19 21:17:59 -07:00
parent b44624cf6a
commit 289b2839d4
+1 -1
View File
@@ -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