Functions.printStackTrace utility method.

This commit is contained in:
Jesse Glick committed 2016-12-12 17:56:24 -05:00
1 parent 24aa20635d
commit 76aa0727f0
32 files changed
+73 -52

No files matched your search

+1 -1
View File
@@ -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"));
}
}
}