GcStore::resolve should print the URI

This commit is contained in:
John Ericson 2022-03-08 18:28:29 +00:00
parent 073e134de6
commit 89effe9d4a

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;
}