1
0
Fork 0
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:
Eelco Dolstra 2018-06-01 14:14:22 +02:00
parent f0d9909f10
commit 73357500ac
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 15 additions and 5 deletions

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());
}
}