aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-06-15 22:31:23 -0700
committerJade Lovelace <lix@jade.fyi>2024-06-15 22:31:23 -0700
commit4004d124837d10ce96a0bc33f1eb56bfa98eddcd (patch)
tree8939554ba8beb6e7616003213f2f457cf42e6479 /src/libstore/local-store.cc
parentdd70044cde0bee5cd66fca6347e294f6c7724001 (diff)
Change the sqlite missing valid path message to say it's the db
I meant to edit https://gerrit.lix.systems/c/lix/+/1161 but apparently clicked the wrong button somehow. Oops. Change-Id: I9b9ba058ec9206d3c8abe125d91dc554cced52fe
Diffstat (limited to 'src/libstore/local-store.cc')
-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 5bdf0362d..5e79630c6 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -958,7 +958,7 @@ uint64_t LocalStore::queryValidPathId(State & state, const StorePath & path)
{
auto use(state.stmts->QueryPathInfo.use()(printStorePath(path)));
if (!use.next()) // TODO: I guess if SQLITE got corrupted..?
- throw InvalidPath("path '%s' does not exist", printStorePath(path));
+ throw InvalidPath("path '%s' does not exist in the Lix database", printStorePath(path));
return use.getInt(0);
}