From ab01402599002bf1cd70e64d53669c53d7b18bc6 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 28 Nov 2018 19:49:33 +0100 Subject: [PATCH] log full exception Signed-off-by: Bjoern Schiessle --- lib/private/Share20/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index ef926ce988..beafc888c4 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -780,7 +780,7 @@ class Manager implements IManager { return false; } } catch (\Exception $e) { - $this->logger->error('Share notification mail could not be send: ' . $e->getMessage()); + $this->logger->logException($e, ['message' => 'Share notification mail could not be send']); return false; }