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 Christoph Wurst
parent a94358062d
commit ab01402599
No known key found for this signature in database
GPG key ID: CC42AC2A7F0E56D8

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