diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java index 21b6b6088d..a3abe02d46 100644 --- a/core/src/main/java/hudson/FilePath.java +++ b/core/src/main/java/hudson/FilePath.java @@ -1911,7 +1911,7 @@ public final class FilePath implements Serializable { try { Util.createSymlink(dest, target, relativePath, TaskListener.NULL); } catch (InterruptedException x) { - throw new IOException(x); + throw (IOException) new IOException(x.toString()).initCause(x); } count.incrementAndGet(); }