Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-02 17:59:41 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-07 11:28:00 +0300
commit2d1779e3c2f77d6c87ca1e1af41c34af2acc30f2 (patch)
treeb73d1ae4dd2fdfea20c7ff693dd1de79c4192f16 /lib/Listener
parent8674bef976a95bc1804f13a1468f7a38823f22c5 (diff)
Improve logging when the sent folder can't be created
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Listener')
-rw-r--r--lib/Listener/SaveSentMessageListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Listener/SaveSentMessageListener.php b/lib/Listener/SaveSentMessageListener.php
index 271dee92e..3f6bf9375 100644
--- a/lib/Listener/SaveSentMessageListener.php
+++ b/lib/Listener/SaveSentMessageListener.php
@@ -112,7 +112,7 @@ class SaveSentMessageListener implements IEventListener {
// Let's assume this error is caused because the mailbox already exists,
// caused by concurrent requests or out-of-sync mailbox cache
$this->logger->logException($e, [
- 'message' => 'Could not create sent mailbox',
+ 'message' => 'Could not create sent mailbox: ' . $e->getMessage(),
'level' => ILogger::WARN,
]);
}