GcStore::resolve should print the URI

This commit is contained in:
John Ericson
2022-03-11 13:27:38 +00:00
parent 073e134de6
commit 89effe9d4a
+1 -1
View File
@@ -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;
}