commit | 1323eda16193cd78c0df3db3e04cabd476705283 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Jun 25 13:50:00 2015 +0100 |
committer | Vadim Markovtsev <v.markovtsev@samsung.com> | Wed Aug 05 11:31:54 2015 +0300 |
tree | 75e5af755a4bcb2685380d8016f8cb110086a0e8 | |
parent | 6f7ed2abb49a3619c78b73af9b0a4b1e05545ec4 [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);