From 4004d124837d10ce96a0bc33f1eb56bfa98eddcd Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Sat, 15 Jun 2024 22:31:23 -0700 Subject: [PATCH] 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 --- src/libstore/local-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }