$exception->getMessage(), ]); return; } $notification = new ManualPush($this->title, $this->body, $this->target); foreach (User::whereIn('id', $this->userIds)->get() as $user) { try { $pushService->sendToUser($user, $notification); } catch (\Throwable $exception) { Log::error('Falha ao enviar push manual', [ 'user_id' => $user->id, 'target' => $this->target->value, 'error' => $exception->getMessage(), ]); } } } }