From fd679e201877d8afc70bf6c6286e937dd63f070e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 20 Feb 2024 16:03:42 +0100 Subject: fix(notifications): Help finding missing notifications by logging it Signed-off-by: Joas Schilling --- lib/private/Notification/Manager.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php index c712d2754e2..348ddb03df9 100644 --- a/lib/private/Notification/Manager.php +++ b/lib/private/Notification/Manager.php @@ -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'); } -- cgit v1.2.3