From d4ace16e97c177446ffdf7a831a3c967ba94e7af Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Mon, 13 Jun 2022 11:38:59 -0100 Subject: [PATCH] log failed member generation Signed-off-by: Maxence Lange --- lib/FederatedItems/MassiveMemberAdd.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/FederatedItems/MassiveMemberAdd.php b/lib/FederatedItems/MassiveMemberAdd.php index 27226b5b8..e5d570634 100644 --- a/lib/FederatedItems/MassiveMemberAdd.php +++ b/lib/FederatedItems/MassiveMemberAdd.php @@ -68,7 +68,7 @@ public function verify(FederatedEvent $event): void { if (!$circle->isConfig(Circle::CFG_FRIEND)) { $initiatorHelper->mustBeModerator(); } - + $members = $event->getMembers(); $filtered = []; @@ -76,6 +76,7 @@ public function verify(FederatedEvent $event): void { try { $filtered[] = $this->generateMember($event, $circle, $member); } catch (Exception $e) { + $this->e($e, ['event' => $event, 'circle' => $circle, 'member' => $member]); } }