give more info on failed attachment retrieval

This commit is contained in:
leithoff 2016-05-13 12:26:21 +02:00
parent 80dd2d166f
commit f29066bc86

View File

@ -5748,7 +5748,7 @@ class Mail
if ($ext && stripos($filename,'.')===false && stripos($filename,$ext)===false) $filename = trim($filename).'.'.$ext;
if (!$part)
{
throw new Exception\WrongParameter("Error: Could not fetch attachment for Uid=$_uid, PartId=$_partID, WinMailNr=$_winmail_nr, folder=$_folder");
throw new Exception\WrongParameter("Error: Could not fetch attachment for Uid=".array2string($_uid).", PartId=$_partID, WinMailNr=$_winmail_nr, folder=$_folder");
}
$attachmentData = array(
'type' => $structure_mime,