From 281dd91e6a27fe54c6c492e83d7b2edf5c1cec32 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Nov 2023 22:53:56 +0000 Subject: [PATCH] Issue 12504: Additional logging for mail notifications --- src/Navigation/Notifications/Repository/Notify.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]);