mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-31 13:35:19 +00:00
Functions.printStackTrace utility method.
This commit is contained in:
1 parent
24aa20635d
commit
76aa0727f0
32 files changed
+73
-52
No files matched your search
@@ -831,7 +831,7 @@ public final class FilePath implements Serializable {
|
||||
return true;
|
||||
} catch (IOException x) {
|
||||
if (listener != null) {
|
||||
listener.error("Failed to download " + archive + " from agent; will retry from master").print(Functions.printThrowable(x));
|
||||
Functions.printStackTrace(x, listener.error("Failed to download " + archive + " from agent; will retry from master"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user