mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
Issue 12504: Additional logging for mail notifications
This commit is contained in:
parent
56cfc57641
commit
281dd91e6a
1 changed files with 3 additions and 1 deletions
|
@ -664,6 +664,8 @@ class Notify extends BaseRepository
|
|||
|
||||
$email = $emailBuilder->build();
|
||||
|
||||
$this->logger->debug('Send mail', $datarray);
|
||||
|
||||
// use the Emailer class to send the message
|
||||
return $this->emailer->send($email);
|
||||
}
|
||||
|
@ -796,7 +798,7 @@ class Notify extends BaseRepository
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// todo - check
|
||||
$msg = $this->notification->getMessageFromNotification($Notification);
|
||||
if (empty($msg)) {
|
||||
$this->logger->info('No notification message, quitting', ['uid' => $Notification->uid, 'id' => $Notification->id, 'type' => $Notification->type]);
|
||||
|
|
Loading…
Reference in a new issue