chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e590de
)
config: Better printing of wrong section error
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 7 Aug 2021 16:54:18 +0000
(17:54 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 7 Aug 2021 18:10:04 +0000
(19:10 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/config.rs
patch
|
blob
|
history
diff --git
a/src/config.rs
b/src/config.rs
index 92fef75552a82d296e5b584b86f58c5b75fd2798..4e9c710ecc899b468f62963099e9d0dee8c5fd5d 100644
(file)
--- 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))
}
}