libstore/getDefaultSubstituters: Add information when a substituters cannot be setup

Fixes #1034

Change-Id: Ic65ef955c4eb44766926e9b3ef4dcb4b94820a16
This commit is contained in:
Tom Hubrecht
2025-11-24 12:08:30 +00:00
parent 26de2b79c2
commit 0167bf56f5
+4 -1
View File
@@ -1537,7 +1537,10 @@ try {
try {
(*lk)->push_back(TRY_AWAIT(openStore(uri)));
} catch (Error & e) {
logWarning(e.info());
logWarning(
{.msg = HintFmt("Failed to setup the substituter at URI '%s': %s", uri, e.msg())
}
);
}
}