Skip to content

Commit 0f8de6e

Browse files
committed
log full exception
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
1 parent 551210b commit 0f8de6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Share20/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ protected function sendMailNotification(IL10N $l,
780780
return false;
781781
}
782782
} catch (\Exception $e) {
783-
$this->logger->error('Share notification mail could not be send: ' . $e->getMessage());
783+
$this->logger->logException($e, ['message' => 'Share notification mail could not be send']);
784784
return false;
785785
}
786786

0 commit comments

Comments
 (0)