Merge pull request #43691 from nextcloud/bugfix/noid/help-finding-missing-notifications

fix(notifications): Help finding missing notifications by logging it
This commit is contained in:
Joas Schilling 2024-02-21 08:56:38 +01:00 committed by GitHub
commit 07dbd3c28c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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');
}