[tranche] r279 committed - Small tweak to make it easier to identify failed download files.

2 views
Skip to first unread message

tra...@googlecode.com

unread,
Jun 29, 2010, 5:34:58 PM6/29/10
to tranche-d...@googlegroups.com
Revision: 279
Author: bryanesmith
Date: Tue Jun 29 14:34:29 2010
Log: Small tweak to make it easier to identify failed download files.
http://code.google.com/p/tranche/source/detail?r=279

Modified:
/src/org/tranche/get/CommandLineGetFileToolListener.java

=======================================
--- /src/org/tranche/get/CommandLineGetFileToolListener.java Tue Apr 27
10:26:55 2010
+++ /src/org/tranche/get/CommandLineGetFileToolListener.java Tue Jun 29
14:34:29 2010
@@ -158,9 +158,9 @@
*/
public void failedFile(GetFileToolEvent event,
Collection<PropagationExceptionWrapper> exceptions) {
if (event.getFileName() == null) {
- out.println("Failed to download " + event.getFileHash());
+ out.println("Failed to download file: " + event.getFileHash());
} else {
- out.println("Failed to download " + event.getFileName() + ",
hash: " + event.getFileHash());
+ out.println("Failed to download file: " + event.getFileName()
+ ", hash: " + event.getFileHash());
}
for (PropagationExceptionWrapper e : exceptions) {
out.println(e.exception.getClass().getName() + ": " +
e.exception.getMessage());

Reply all
Reply to author
Forward
0 new messages