From da25148eac65bb09ab1ef88fb0c3182d784e5732 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 2 Feb 2016 17:16:58 +0100 Subject: [PATCH] [XBT] Expanded error message for cfg values This should help users understand why their code breaks; we don't rename very often so I think this is sufficient. --- src/xbt/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xbt/config.c b/src/xbt/config.c index 0798011d21..aeb7baabf5 100644 --- a/src/xbt/config.c +++ b/src/xbt/config.c @@ -465,7 +465,8 @@ static xbt_cfgelm_t xbt_cfgelm_get(xbt_cfg_t cfg, if (!res) { xbt_cfg_help(cfg); THROWF(not_found_error, 0, - "No registered variable '%s' in this config set", name); + "No registered variable '%s' in this config set. It is possible that this "\ + "configuration option has been renamed; please read the file ChangeLog carefully!", name); } xbt_assert(type == xbt_cfgelm_any || res->type == type, -- 2.20.1