From be9525b2695036845b84b0799b8acc74e1c72c42 Mon Sep 17 00:00:00 2001 From: Chris Burgess Date: Tue, 16 Aug 2016 11:20:29 +1200 Subject: [PATCH] CRM-9484: Log unrecognised message part types to debug log. --- CRM/Utils/Mail/Incoming.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Utils/Mail/Incoming.php b/CRM/Utils/Mail/Incoming.php index f0d580c570..232d8faead 100644 --- a/CRM/Utils/Mail/Incoming.php +++ b/CRM/Utils/Mail/Incoming.php @@ -254,6 +254,7 @@ class CRM_Utils_Mail_Incoming { * @return string */ public function formatUnrecognisedPart($part) { + CRM_Core_Error::debug_log_message(ts('CRM_Utils_Mail_Incoming: Unable to handle message part of type "%1".', array('%1' => get_class($part)))); return ts('Unrecognised message part of type "%1".', array('%1' => get_class($part))); } -- 2.25.1