diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-04-21 17:52:05 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-04-21 17:52:05 +0000 |
commit | 16ddb5dd01fad14130cc2f4be9ab13175e75c907 (patch) | |
tree | a28bb4a235d308d12fb5ee7562b500eeccd2dd28 /cpp/src/IcePatch/Client.cpp | |
parent | Fixed warning (diff) | |
download | ice-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.cpp | 10 |
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; } } |