diff options
author | Joas Schilling <coding@schilljs.com> | 2024-02-20 16:03:42 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-02-20 16:03:42 +0100 |
commit | fd679e201877d8afc70bf6c6286e937dd63f070e (patch) | |
tree | 1b9783c790670c1e73a520a0d729d77e1625e29f /lib/private/Notification | |
parent | 19bff05ccc70bce7dc571ed3cf36ca5cd963ca8c (diff) | |
download | nextcloud-server-fd679e201877d8afc70bf6c6286e937dd63f070e.tar.gz nextcloud-server-fd679e201877d8afc70bf6c6286e937dd63f070e.zip |
fix(notifications): Help finding missing notifications by logging it
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Notification')
-rw-r--r-- | lib/private/Notification/Manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
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'); } |