chore: Fix sentry issues (#4863)

Fix sentry issues.

Fixes #4815, #4814, #4811, #4809
This commit is contained in:
Aswin Dev P.S
2022-06-15 16:20:19 +05:30
committed by GitHub
parent 067c905329
commit 9015d83679
6 changed files with 51 additions and 12 deletions

View File

@@ -21,6 +21,8 @@ module MailboxHelper
end
def add_attachments_to_message
return if @message.blank?
processed_mail.attachments.each do |mail_attachment|
attachment = @message.attachments.new(
account_id: @conversation.account_id,