Skip to content

Commit

Permalink
fixup! fix(teams): resolve undefined variable error and add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Aug 26, 2024
1 parent 810c96d commit f0a6f21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Controller/ContactController.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ public function getCircleMembers(string $circleId):JSONResponse {
$user = $this->userManager->get($circleMemberUserId);

if ($user === null) {
throw new ServiceException('Could not find organizer');
$this->logger->warning('Could not find user with user id' . $circleMemberUserId);
throw new ServiceException('Could not find circle member');
}

$contacts[] = [
Expand Down

0 comments on commit f0a6f21

Please sign in to comment.