better error msg on sud copy fail
This commit is contained in:
@ -452,7 +452,8 @@ D8usM7Dxp5yrDrCYZ5AIijc=
|
|||||||
while ( (bytesRead = fileInputStream.read(buffer)) != -1)
|
while ( (bytesRead = fileInputStream.read(buffer)) != -1)
|
||||||
fileOutputStream.write(buffer, 0, bytesRead);
|
fileOutputStream.write(buffer, 0, bytesRead);
|
||||||
} catch (IOException ioe) {
|
} 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 {
|
} finally {
|
||||||
if (fileInputStream != null)
|
if (fileInputStream != null)
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user