mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-24 06:22:44 +00:00
[CLEANUP] give a little bit more information in error message
Indicate the error is about redirection.
This commit is contained in:
parent
1772ece025
commit
af403fc59d
@ -1403,7 +1403,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int inv)
|
||||
}
|
||||
|
||||
if ((cond = parse_acl_cond((const char **)args + cur_arg, &curproxy->acl, pol)) == NULL) {
|
||||
Alert("parsing [%s:%d] : '%s': error detected while parsing condition.\n",
|
||||
Alert("parsing [%s:%d] : '%s': error detected while parsing redirect condition.\n",
|
||||
file, linenum, args[0]);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user