]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(notifications): Help finding missing notifications by logging it 43691/head
authorJoas Schilling <coding@schilljs.com>
Tue, 20 Feb 2024 15:03:42 +0000 (16:03 +0100)
committerJoas Schilling <coding@schilljs.com>
Tue, 20 Feb 2024 15:03:42 +0000 (16:03 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Notification/Manager.php

index c712d2754e2581bfee33bd09b27325ee9ca7ac3c..348ddb03df92c0597f55d4dbcd5fa5e3e0de7fe6 100644 (file)
@@ -366,6 +366,7 @@ class Manager implements IManager {
                }
 
                if (!$notification->isValidParsed()) {
+                       $this->logger->info('Notification was not parsed by any notifier [app: ' . $notification->getApp() . ', subject: ' . $notification->getSubject() . ']');
                        throw new \InvalidArgumentException('The given notification has not been handled');
                }