Skip to content

Commit

Permalink
[JENKINS-33318] @svanoort's comment was addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Apr 18, 2016
1 parent e32e694 commit 6f511f4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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")) {
Expand Down

0 comments on commit 6f511f4

Please sign in to comment.