mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
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:
parent
b20e2c96cf
commit
bc487afc85
@ -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'",
|
||||
|
Loading…
x
Reference in New Issue
Block a user