fix(notifications): Help finding missing notifications by logging it

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-02-20 16:03:42 +01:00
parent 19bff05ccc
commit fd679e2018
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

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