summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-04-21 17:52:05 +0000
committerMark Spruiell <mes@zeroc.com>2004-04-21 17:52:05 +0000
commit16ddb5dd01fad14130cc2f4be9ab13175e75c907 (patch)
treea28bb4a235d308d12fb5ee7562b500eeccd2dd28 /cpp/src/IcePatch/Client.cpp
parentFixed warning (diff)
downloadice-16ddb5dd01fad14130cc2f4be9ab13175e75c907.tar.bz2
ice-16ddb5dd01fad14130cc2f4be9ab13175e75c907.tar.xz
ice-16ddb5dd01fad14130cc2f4be9ab13175e75c907.zip
expanding patching error message
Diffstat (limited to 'cpp/src/IcePatch/Client.cpp')
-rw-r--r--cpp/src/IcePatch/Client.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp
index 53d456bc6a4..07d72f61544 100644
--- a/cpp/src/IcePatch/Client.cpp
+++ b/cpp/src/IcePatch/Client.cpp
@@ -640,7 +640,15 @@ IcePatch::Client::patch(const DirectoryDescPtr& dirDesc, const string& indent, L
removeRecursive(path);
FileAccessException ex;
- ex.reason = "Error patching `" + path + "'.";
+ ex.reason = "Retry count exceeded while patching `" + path + "':\n";
+ if(infoMD5.type == FileTypeRegular)
+ {
+ ex.reason += "MD5 mismatch";
+ }
+ else
+ {
+ ex.reason += "MD5 file not found";
+ }
throw ex;
}
}