forked from lix-project/lix
GcStore::resolve
should print the URI
This commit is contained in:
parent
073e134de6
commit
89effe9d4a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue