mirror of https://github.com/nextcloud/server
fix(notifications): Throw AlreadyProcessedException also from the manager when it's done
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
0d0c2cdaa0
commit
6545fed34a
|
@ -355,7 +355,7 @@ class Manager implements IManager {
|
|||
$notification = $notifier->prepare($notification, $languageCode);
|
||||
} catch (AlreadyProcessedException $e) {
|
||||
$this->markProcessed($notification);
|
||||
throw new \InvalidArgumentException('The given notification has been processed');
|
||||
throw $e;
|
||||
} catch (UnknownNotificationException) {
|
||||
continue;
|
||||
} catch (\InvalidArgumentException $e) {
|
||||
|
|
Loading…
Reference in New Issue