log full exception

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pull/13930/head
Bjoern Schiessle 2018-11-28 19:49:33 +07:00 committed by Backportbot
parent f22465e364
commit 0a1e776006
1 changed files with 1 additions and 1 deletions

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