Skip to content

Commit a16e5b0

Browse files
committed
Log organization instead of hostname
1 parent 4e1ad5c commit a16e5b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/entitlements/backend/github_team/service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def add_user_to_team(user:, team:, role: "member")
462462
rescue Octokit::UnprocessableEntity => e
463463
raise e unless ignore_not_found && e.message =~ /Enterprise Managed Users must be part of the organization to be assigned to the team/
464464

465-
Entitlements.logger.warn "User #{user} not found in GitHub instance #{identifier}, ignoring."
465+
Entitlements.logger.warn "User #{user} not found in organization #{org}, ignoring."
466466
false
467467
rescue Octokit::NotFound => e
468468
raise e unless ignore_not_found

0 commit comments

Comments
 (0)