diff options
Diffstat (limited to 'lib/private/Notification')
-rw-r--r-- | lib/private/Notification/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php index df9d338beb0..d31de6f7950 100644 --- a/lib/private/Notification/Manager.php +++ b/lib/private/Notification/Manager.php @@ -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) { |