aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-03-08 18:28:29 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-03-11 13:27:38 +0000
commit89effe9d4abde2ea8970736f79e0a6a499777692 (patch)
tree94baf3799a7976121e0ffc279c48a102eff4d0c2 /src
parent073e134de6260de7d90b135b7e173157741d4853 (diff)
`GcStore::resolve` should print the URI
Diffstat (limited to 'src')
-rw-r--r--src/libstore/gc-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/gc-store.cc b/src/libstore/gc-store.cc
index 4516cc744..dc2b82166 100644
--- a/src/libstore/gc-store.cc
+++ b/src/libstore/gc-store.cc
@@ -6,7 +6,7 @@ GcStore & GcStore::require(Store & store)
{
auto * gcStore = dynamic_cast<GcStore *>(&store);
if (!gcStore)
- throw UsageError("Garbage collection not supported by this store");
+ throw UsageError("Garbage collection not supported by store '%s'", store.getUri());
return *gcStore;
}