]> git.mxchange.org Git - friendica.git/commitdiff
Issue 12504: Additional logging for mail notifications
authorMichael <heluecht@pirati.ca>
Sat, 25 Nov 2023 22:53:56 +0000 (22:53 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 25 Nov 2023 22:53:56 +0000 (22:53 +0000)
src/Navigation/Notifications/Repository/Notify.php

index 94466abdb2f1b6f428e847c431704110fb775729..b46d3905be2cf3ce561f688c7bd072e4041bcb5c 100644 (file)
@@ -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]);