Skip to content

Commit

Permalink
[JENKINS-33815] @jglick's comment was addresed
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Mar 25, 2016
1 parent d1e16ba commit 13dbeef
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -27,6 +27,7 @@
import com.cloudbees.plugins.credentials.CredentialsNameProvider;
import com.cloudbees.plugins.credentials.common.StandardCredentials;
import com.cloudbees.plugins.credentials.common.StandardListBoxModel;
import hudson.AbortException;
import hudson.Extension;
import hudson.Util;
import hudson.model.TaskListener;
Expand Down Expand Up @@ -166,8 +167,7 @@ public String getApiUri() {
return;
}

listener.getLogger().format("%n%s does not correspond to a known GitHub User Account or Organization%n%n", repoOwner);
throw new InterruptedException();
throw new AbortException(repoOwner + " does not correspond to a known GitHub User Account or Organization");
}

private void add(TaskListener listener, SCMSourceObserver observer, GHRepository repo) throws InterruptedException {
Expand Down

0 comments on commit 13dbeef

Please sign in to comment.