diff --git a/src/main/java/org/jenkinsci/plugins/GithubAuthenticationToken.java b/src/main/java/org/jenkinsci/plugins/GithubAuthenticationToken.java index 40280707..f305442c 100644 --- a/src/main/java/org/jenkinsci/plugins/GithubAuthenticationToken.java +++ b/src/main/java/org/jenkinsci/plugins/GithubAuthenticationToken.java @@ -528,8 +528,8 @@ public RepoRights call() throws Exception { ); } } catch (Exception e) { - LOGGER.log(Level.SEVERE, "an exception was thrown", e); - LOGGER.log(Level.WARNING, + LOGGER.log(Level.FINEST, "an exception was thrown", e); + LOGGER.log(Level.FINEST, "Looks like a bad GitHub URL OR the Jenkins user {0} does not have access to the repository {1}. May need to add 'repo' or 'public_repo' to the list of oauth scopes requested.", new Object[] { this.userName, repositoryName }); }