From 448ff4d398069dd8ba98dadad51f11aea2801395 Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 15 Dec 2009 01:45:15 +0000 Subject: [PATCH] better error msg on sud copy fail --- core/java/src/net/i2p/crypto/TrustedUpdate.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/src/net/i2p/crypto/TrustedUpdate.java b/core/java/src/net/i2p/crypto/TrustedUpdate.java index 4d8376c13..8729f128f 100644 --- a/core/java/src/net/i2p/crypto/TrustedUpdate.java +++ b/core/java/src/net/i2p/crypto/TrustedUpdate.java @@ -452,7 +452,8 @@ D8usM7Dxp5yrDrCYZ5AIijc= while ( (bytesRead = fileInputStream.read(buffer)) != -1) fileOutputStream.write(buffer, 0, bytesRead); } catch (IOException ioe) { - return "I/O Exception during file extraction"; + // probably permissions or disk full, so bring the message out to the console + return "Error copying update: " + ioe; } finally { if (fileInputStream != null) try {