mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-11 01:26:58 +02:00
This commit adds support for an optional second argument to BUG_ON(), WARN_ON(), CHECK_IF(), that can be a constant string. When such an argument is given, it will be printed on a second line after the existing first message that contains the condition. This can be used to provide more human-readable explanations about what happened, such as "too low on memory" or "memory corruption detected" that may help a user resolve the incident by themselves. |
||
---|---|---|
.. | ||
haproxy | ||
import | ||
make |