Skip to content

Commit

Permalink
[JENKINS-21905] Log the diagnosed cause just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergondza committed Sep 24, 2017
1 parent 7139382 commit 9bd9c48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/hudson/tasks/ArtifactArchiver.java
Expand Up @@ -266,6 +266,7 @@ public void perform(Run<?,?> build, FilePath ws, Launcher launcher, TaskListener
}
}
} catch (java.nio.file.AccessDeniedException e) {
LOG.log(Level.FINE, "Diagnosing anticipated Exception", e);
throw new AbortException(e.toString()); // Message is not enough as that is the filename only
} catch (IOException e) {
Util.displayIOException(e,listener);
Expand Down

0 comments on commit 9bd9c48

Please sign in to comment.