Skip to content

Commit

Permalink
log full exception
Browse files Browse the repository at this point in the history
Signed-off-by: Bjoern Schiessle <[email protected]>
  • Loading branch information
schiessle authored and ChristophWurst committed Jan 30, 2019
1 parent a943580 commit ab01402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ protected function sendMailNotification(IL10N $l,
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;
}

Expand Down

0 comments on commit ab01402

Please sign in to comment.