mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Improve binary cache upload messages
Don't say "download" when we mean "upload".
This commit is contained in:
parent
f0d9909f10
commit
73357500ac
2 changed files with 15 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue