chore: Update the error message to the correct one (#8646)

-  Update the error message in reply_mailbox to more appropriate one.
This commit is contained in:
Vishnu Narayanan 2024-01-12 07:08:38 +05:30 committed by GitHub
parent d305c5fd0f
commit 1c44445088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ class ReplyMailbox < ApplicationMailbox
end
def validate_resource(resource)
raise "#{resource.class.name} not found" if resource.nil?
raise "Email conversation with uuid: #{conversation_uuid} not found" if resource.nil?
resource
end