MINOR: filters: Improve errors formating during filters parsing

The error message reported by a filter during parsing are displayed between
quotes. It is not really user friendly. So let's remove the quotes here.
This commit is contained in:
Christopher Faulet 2025-02-06 17:03:35 +01:00
parent b20e2c96cf
commit bc487afc85

View File

@ -241,7 +241,7 @@ parse_filter(char **args, int section_type, struct proxy *curpx,
}
if (kw->parse(args, &cur_arg, curpx, fconf, err, kw->private) != 0) {
if (err && *err)
memprintf(err, "'%s' : '%s'",
memprintf(err, "'%s' : %s",
args[0], *err);
else
memprintf(err, "'%s' : error encountered while processing '%s'",