log full exception

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2018-11-28 19:49:33 +01:00 committed by Backportbot
parent 2dcab24f8c
commit 849ad5a8bb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}