diff options
Diffstat (limited to 'cpp/src')
-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; } } |