summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Share20/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index ef926ce9883..beafc888c49 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;
}