From 1f922d4f5fcecf9e9345435018850bb7da5b6235 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 7 Aug 2021 17:54:18 +0100 Subject: [PATCH] config: Better printing of wrong section error Signed-off-by: Ian Jackson --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 92fef75..4e9c710 100644 --- a/src/config.rs +++ b/src/config.rs @@ -258,7 +258,7 @@ impl Aggregate { )?; if ! skl.contains(&sn) { throw!(anyhow!("configuration key {:?} not applicable \ - in this kind of section {:?}", key, &sn)) + in this kind of section: {}", key, &sn)) } } -- 2.30.2