mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
CLEANUP: config: make the errorloc/errorfile messages less confusing
Some users believe that "status code XXX not handled" means "not handled by haproxy". Let's be clear that's only about the option.
This commit is contained in:
parent
c2f5653452
commit
bb3c09ab2b
@ -6359,8 +6359,8 @@ stats_error_parsing:
|
||||
}
|
||||
|
||||
if (rc >= HTTP_ERR_SIZE) {
|
||||
Warning("parsing [%s:%d] : status code %d not handled, error relocation will be ignored.\n",
|
||||
file, linenum, errnum);
|
||||
Warning("parsing [%s:%d] : status code %d not handled by '%s', error relocation will be ignored.\n",
|
||||
file, linenum, errnum, args[0]);
|
||||
free(err);
|
||||
}
|
||||
}
|
||||
@ -6419,8 +6419,8 @@ stats_error_parsing:
|
||||
}
|
||||
|
||||
if (rc >= HTTP_ERR_SIZE) {
|
||||
Warning("parsing [%s:%d] : status code %d not handled, error customization will be ignored.\n",
|
||||
file, linenum, errnum);
|
||||
Warning("parsing [%s:%d] : status code %d not handled by '%s', error customization will be ignored.\n",
|
||||
file, linenum, errnum, args[0]);
|
||||
err_code |= ERR_WARN;
|
||||
free(err);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user