Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2018-12-04 19:33:30 +01:00 committed by Backportbot
parent 0a1e776006
commit 1c88b907a3
1 changed files with 2 additions and 2 deletions

View File

@ -776,11 +776,11 @@ class Manager implements IManager {
try { try {
$failedRecipients = $this->mailer->send($message); $failedRecipients = $this->mailer->send($message);
if(!empty($failedRecipients)) { if(!empty($failedRecipients)) {
$this->logger->error('Share notification mail could not be send to: ' . implode(', ', $failedRecipients)); $this->logger->error('Share notification mail could not be sent to: ' . implode(', ', $failedRecipients));
return false; return false;
} }
} catch (\Exception $e) { } catch (\Exception $e) {
$this->logger->logException($e, ['message' => 'Share notification mail could not be send']); $this->logger->logException($e, ['message' => 'Share notification mail could not be sent']);
return false; return false;
} }