Skip to content

Commit

Permalink
Merge pull request #1604 from nextcloud/backport/1586/stable27
Browse files Browse the repository at this point in the history
[stable27] MailQueueHandler: Don't flood logs with useless messages
  • Loading branch information
nickvergessen authored Mar 21, 2024
2 parents 6b61d04 + 971d53b commit b57f2a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MailQueueHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit b57f2a1

Please sign in to comment.