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 f22465e364
commit 0a1e776006

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