aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}