Merge changes I9cf007c8,I9b9ba058 into main
* changes: releng: fix broken manifest from 2.90-rc1 Change the sqlite missing valid path message to say it's the db
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user