Change error messages about 'invalid paths' to 'path does not exist'.
Fixes #270. Change-Id: I07d2da41498cfdf324a03af40533044d58c97c7e
This commit is contained in:
@@ -170,7 +170,7 @@ ref<const ValidPathInfo> BinaryCacheStore::addToStoreCommon(
|
||||
if (ref != info.path)
|
||||
queryPathInfo(ref);
|
||||
} catch (InvalidPath &) {
|
||||
throw Error("cannot add '%s' to the binary cache because the reference '%s' is not valid",
|
||||
throw Error("cannot add '%s' to the binary cache because the reference '%s' does not exist",
|
||||
printStorePath(info.path), printStorePath(ref));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user