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
This commit is contained in:
Jade Lovelace 2024-06-15 22:31:23 -07:00
parent dd70044cde
commit 4004d12483

View file

@ -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);
}