From 47e06ffccbb0ad1fdad354347e82dcb4b312951d Mon Sep 17 00:00:00 2001 From: kohsuke Date: Thu, 24 Dec 2009 02:43:02 +0000 Subject: [PATCH] improved error message git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24899 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/FilePath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java index 566cf6072a..6960b6a2bb 100644 --- a/core/src/main/java/hudson/FilePath.java +++ b/core/src/main/java/hudson/FilePath.java @@ -669,7 +669,7 @@ public final class FilePath implements Serializable { throw e; // pass through so that the caller can catch it as AbortException } catch (IOException e) { // wrap it into a new IOException so that we get the caller's stack trace as well. - throw new IOException2("remote file operation failed",e); + throw new IOException2("remote file operation failed: "+remote+" at "+channel,e); } } else { // the file is on the local machine.