Skip to content

Commit

Permalink
Merge pull request #107 from christ66/JENKINS-26264
Browse files Browse the repository at this point in the history
[JENKINS-26264] Cleanup AbortException call.
  • Loading branch information
recena committed Aug 31, 2015
2 parents 606d958 + f4566d6 commit 0b4aee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/hudson/scm/subversion/UpdateUpdater.java
Expand Up @@ -166,9 +166,9 @@ public List<External> perform() throws IOException, InterruptedException {
break;
}
} catch (SVNCancelException e) {
e.printStackTrace(listener.getLogger());
if (isAuthenticationFailedError(e)) {
e.printStackTrace(listener.error("Failed to check out " + location.remote));
throw (AbortException) new AbortException().initCause(e);
throw new AbortException("Failed to check out " + location.remote);
} else {
listener.error("Subversion update has been canceled");
throw (InterruptedException)new InterruptedException().initCause(e);
Expand Down

0 comments on commit 0b4aee6

Please sign in to comment.