Tweak message

This commit is contained in:
Eelco Dolstra 2017-03-01 14:52:16 +01:00
parent 56e19d970d
commit 07a0b8ca67
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -920,7 +920,7 @@ void LocalStore::addToStore(const ValidPathInfo & info, const ref<std::string> &
info.path % info.narHash.to_string() % h.to_string());
if (requireSigs && !dontCheckSigs && !info.checkSignatures(*this, publicKeys))
throw Error(format("cannot import path %s because it lacks a valid signature") % info.path);
throw Error("cannot add path %s because it lacks a valid signature", info.path);
addTempRoot(info.path);