Improve binary cache upload messages

Don't say "download" when we mean "upload".
This commit is contained in:
Eelco Dolstra
2018-06-01 14:14:22 +02:00
parent f0d9909f10
commit 73357500ac
2 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ protected:
try {
getDownloader()->download(req);
} catch (DownloadError & e) {
throw UploadToHTTP(format("uploading to HTTP binary cache at %1% not supported: %2%") % cacheUri % e.msg());
throw UploadToHTTP("while uploading to HTTP binary cache at '%s': %s", cacheUri, e.msg());
}
}