From b1ad819e4ec79776cb5ccc61e2206a0c5d506ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Matar=C3=A9?= Date: Wed, 12 Jul 2023 18:09:11 +0200 Subject: [PATCH] yamlconfig: clarify error message --- src/yamlconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yamlconfig.cpp b/src/yamlconfig.cpp index a1a7838..593668b 100644 --- a/src/yamlconfig.cpp +++ b/src/yamlconfig.cpp @@ -608,7 +608,7 @@ bool convert>::decode(const Node &node, wtf_ptr &config) if (node[kw_levels]) { // Separate "levels:" section if (config->fan_configs().size()) - throw YamlError(get_mark_compat(node), "Cannot have a separate 'levels:' section when some fan already has specific levels assigned"); + throw YamlError(get_mark_compat(node), "Cannot have a global 'levels:' section when some fan already has specific levels assigned"); if (!node[kw_levels].IsSequence()) throw YamlError(get_mark_compat(node), "Level entries must be a sequence. Forgot the dashes?");