diff options
author | julia <midnight@trainwit.ch> | 2024-05-18 20:16:32 +1000 |
---|---|---|
committer | julia <midnight@trainwit.ch> | 2024-06-16 03:55:39 +0000 |
commit | 89c782b0c0df6ca9d85207b62318e70729f18e24 (patch) | |
tree | 23db3e1956fe8c2e05edc05626bec27e3695bff6 /src/libstore/remote-fs-accessor.cc | |
parent | 6c311a4afa339b5dc4f80f03e29c9e7fe779abd5 (diff) |
Change error messages about 'invalid paths' to 'path does not exist'.
Fixes #270.
Change-Id: I07d2da41498cfdf324a03af40533044d58c97c7e
Diffstat (limited to 'src/libstore/remote-fs-accessor.cc')
-rw-r--r-- | src/libstore/remote-fs-accessor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/remote-fs-accessor.cc b/src/libstore/remote-fs-accessor.cc index c8e20b3b5..8da8b9774 100644 --- a/src/libstore/remote-fs-accessor.cc +++ b/src/libstore/remote-fs-accessor.cc @@ -55,7 +55,7 @@ std::pair<ref<FSAccessor>, Path> RemoteFSAccessor::fetch(const Path & path_, boo auto [storePath, restPath] = store->toStorePath(path); if (requireValidPath && !store->isValidPath(storePath)) - throw InvalidPath("path '%1%' is not a valid store path", store->printStorePath(storePath)); + throw InvalidPath("path '%1%' does not exist in remote store", store->printStorePath(storePath)); auto i = nars.find(std::string(storePath.hashPart())); if (i != nars.end()) return {i->second, restPath}; |