diff --git a/lib/MailQueueHandler.php b/lib/MailQueueHandler.php index b820b550d..2bca5fd34 100644 --- a/lib/MailQueueHandler.php +++ b/lib/MailQueueHandler.php @@ -466,6 +466,8 @@ protected function parseEvent($lang, IEvent $event) { foreach ($this->activityManager->getProviders() as $provider) { try { $event = $provider->parse($lang, $event); + } catch (\InvalidArgumentException $e) { + /* Ignore */ } catch (\Throwable $e) { $this->logger->error('Error while parsing activity event', ['exception' => $e]); }