From: Michael Date: Sat, 25 Nov 2023 22:53:56 +0000 (+0000) Subject: Issue 12504: Additional logging for mail notifications X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=281dd91e6a27fe54c6c492e83d7b2edf5c1cec32;p=friendica.git Issue 12504: Additional logging for mail notifications --- diff --git a/src/Navigation/Notifications/Repository/Notify.php b/src/Navigation/Notifications/Repository/Notify.php index 94466abdb2..b46d3905be 100644 --- a/src/Navigation/Notifications/Repository/Notify.php +++ b/src/Navigation/Notifications/Repository/Notify.php @@ -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]);