From: Christian Heinrich Date: Tue, 2 Feb 2016 16:16:58 +0000 (+0100) Subject: [XBT] Expanded error message for cfg values X-Git-Tag: v3_13~993^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/da25148eac65bb09ab1ef88fb0c3182d784e5732 [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. --- 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,