aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/http-binary-cache-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-06-01 14:14:22 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-06-01 14:14:22 +0200
commit73357500aca2ad4a2d82111993fbd5aaf0af4ec6 (patch)
tree1a29541c85aa2ed7f8997b8a99348145b73972b7 /src/libstore/http-binary-cache-store.cc
parentf0d9909f108b2f8bffaf65743e283e773204b62f (diff)
Improve binary cache upload messages
Don't say "download" when we mean "upload".
Diffstat (limited to 'src/libstore/http-binary-cache-store.cc')
-rw-r--r--src/libstore/http-binary-cache-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/http-binary-cache-store.cc b/src/libstore/http-binary-cache-store.cc
index 6fdae40e3..ab524d523 100644
--- a/src/libstore/http-binary-cache-store.cc
+++ b/src/libstore/http-binary-cache-store.cc
@@ -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());
}
}