mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 00:55:59 +00:00
[JENKINS-47896] - Add some diagnostics for the failing channel comparison in FilePath
This commit is contained in:
1 parent
09b9d227af
commit
78423ca292
1 file changed
+1
-1
@@ -2988,7 +2988,7 @@ public final class FilePath implements SerializableOnlyOverRemoting {
|
||||
private void writeObject(ObjectOutputStream oos) throws IOException {
|
||||
Channel target = getChannelForSerialization();
|
||||
if(channel!=target) {
|
||||
throw new IllegalStateException("Can't send a remote FilePath to a different remote channel");
|
||||
throw new IllegalStateException("Can't send a remote FilePath to a different remote channel (current=" + channel + ", target=" + target + ")");
|
||||
}
|
||||
|
||||
oos.defaultWriteObject();
|
||||
|
||||
Reference in new issue
Block a user