From 73357500aca2ad4a2d82111993fbd5aaf0af4ec6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 1 Jun 2018 14:14:22 +0200 Subject: Improve binary cache upload messages Don't say "download" when we mean "upload". --- src/libstore/http-binary-cache-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/http-binary-cache-store.cc') diff --git a/src/libstore/http-binary-cache-store.cc b/src/libstore/http-binary-cache-store.cc index 6fdae40e3603..ab524d523cf2 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()); } } -- cgit 1.4.1