Browse Source

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

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v29.0.0beta1
Joas Schilling 3 months ago
parent
commit
fd679e2018
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/private/Notification/Manager.php

+ 1
- 0
lib/private/Notification/Manager.php 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');
}


Loading…
Cancel
Save