Skip to content
Permalink
Browse files

[JENKINS-33318] @svanoort's comment was addressed

  • Loading branch information
recena
recena committed Apr 18, 2016
1 parent e32e694 commit 6f511f42b44a8b6da99c5e17b32fea2662990424
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java
@@ -129,7 +129,7 @@ public FormValidation doCheckApiUri(@QueryParameter String apiUri) {
} catch (FileNotFoundException fnt) {
// For example: https://github.mycompany.com/server/api/v3/ gets a FileNotFoundException
LOGGER.log(Level.WARNING, "Getting HTTP Error 404 for " + apiUri);
return FormValidation.error("This does not look like a GitHub Enterprise API endpoint");
return FormValidation.error("This does not look like a GitHub Enterprise API endpoint (page not found");
} catch (IOException e) {
// For example: https://github.mycompany.com/api/v3/ or https://github.mycompany.com/api/v3/mypath
if (e.getMessage().contains("private mode enabled")) {

0 comments on commit 6f511f4

Please sign in to comment.
You can’t perform that action at this time.