Skip to content

Commit

Permalink
Merge pull request #144 from fbelzunc/JENKINS-31385
Browse files Browse the repository at this point in the history
[FIXED JENKINS-31385] Additional logs when using svn:externals is used and SVNCancelException is thrown
  • Loading branch information
recena committed Dec 17, 2015
2 parents d66d056 + 923c15d commit 0e3dc5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/hudson/scm/SubversionRepositoryStatus.java
Expand Up @@ -37,6 +37,7 @@
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;

import org.tmatesoft.svn.core.SVNCancelException;
import org.tmatesoft.svn.core.SVNURL;
import org.tmatesoft.svn.core.SVNException;

Expand Down Expand Up @@ -293,6 +294,8 @@ public boolean onNotify(UUID uuid, long rev, Set<String> affectedPath) {
}
}

} catch (SVNCancelException e) {
LOGGER.log(WARNING, "Failed to handle Subversion commit notification. If you are using svn:externals feature ensure that the credentials of the externals are added on the Additional Credentials field", e);
} catch (SVNException e) {
LOGGER.log(WARNING, "Failed to handle Subversion commit notification", e);
} catch (IOException e) {
Expand Down

0 comments on commit 0e3dc5e

Please sign in to comment.