mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(notifications): Help finding missing notifications by logging it
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
19bff05ccc
commit
fd679e2018
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue