about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-01T13·52+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-01T13·52+0100
commit07a0b8ca671669794f51f9d886397bf038a8881e (patch)
tree04d774bfe5ef1a8d82753033020e3ee79438e463 /src/libstore
parent56e19d970db33de6b7aef088cde57817b5a61d61 (diff)
Tweak message
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index bc63955af0e9..63f069c2ff18 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -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);