| commit | 83cc98e277ab89e30d5e7af3c2e32efed2a9884c | [log] [tgz] |
|---|---|---|
| author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Jun 25 13:50:00 2015 +0100 |
| committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Jun 25 16:11:27 2015 +0000 |
| tree | 569d11a414b8b74b2107b0822d2ca95ed611400b | |
| parent | f24cc7b0928b9bfbfa37e9573512e6c8acc7c349 [diff] |
Downgrading to INFO the GitHub Team access denials When requesting to GitHub the list of Teams that a user belongs to it is quite common to receive a permission denied error. This is not a warning but just a normal situation when the user do not allow to access his private information, which is a legal scenario. Change-Id: Icde491f2cd395419b42769aa15eb039f988fd50e
diff --git a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/group/GitHubGroupsCache.java b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/group/GitHubGroupsCache.java index f895500..bf94d1c 100644 --- a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/group/GitHubGroupsCache.java +++ b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/group/GitHubGroupsCache.java
@@ -77,7 +77,7 @@ try { loadOrganisationsAndTeams(username, orgsTeams, ghLogin); } catch (FileNotFoundException teamsNotFound) { - log.warn( + log.info( "Cannot access teams for user '{}': falling back to list of public organisations", username); loadOrganisations(username, orgsTeams, ghLogin);