From 0167bf56f5fa140394be59104294acfe183fbfc8 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 24 Nov 2025 12:43:11 +0100 Subject: [PATCH] libstore/getDefaultSubstituters: Add information when a substituters cannot be setup Fixes #1034 Change-Id: Ic65ef955c4eb44766926e9b3ef4dcb4b94820a16 --- lix/libstore/store-api.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lix/libstore/store-api.cc b/lix/libstore/store-api.cc index 9e2c19dc0..4ea7903d1 100644 --- a/lix/libstore/store-api.cc +++ b/lix/libstore/store-api.cc @@ -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()) + } + ); } }