diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index bc36d57be9..d973cc7b93 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -481,7 +481,8 @@ def extract_attachments if hidden_old_attachments.any? # if there are hidden attachments error as we don't want to re-build and # lose the prominence as this will make them public - raise UnableToExtractAttachments, "due to prominence of attachments " \ + raise UnableToExtractAttachments, "unable to extract attachments due " \ + "to prominence of attachments " \ "(ID=#{hidden_old_attachments.map(&:id).join(', ')})" else old_attachments.each(&:mark_for_destruction)