mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
ticket / mailclient added dump information on mail fetch error
This commit is contained in:
parent
d294daa08b
commit
5a4c73d9b8
@ -128,7 +128,7 @@ final class ImapMailClient implements MailClientInterface
|
|||||||
$message = $this->imap->getMessage($msgNumber);
|
$message = $this->imap->getMessage($msgNumber);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
throw new MessageNotFoundException(
|
throw new MessageNotFoundException(
|
||||||
sprintf('Message number %s not found.', $msgNumber)
|
sprintf("Message number %s could not be fetched.\n\r%s", $msgNumber,print_r($e,true))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user