forked from lix-project/lix
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:
parent
dd70044cde
commit
4004d12483
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue