]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: improve BUG_ON output message accuracy
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Feb 2022 13:15:41 +0000 (14:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Feb 2022 14:00:03 +0000 (15:00 +0100)
commitef16578822c9c2d5eb2f1cc33bd78ab4270bd210
tree7a686cda0b9f401339292e61161ec27ea27b6f97
parent6d3f1e322eb4fcfcdb27c4ebbfcd0e559d387533
DEBUG: improve BUG_ON output message accuracy

Now we'll explicitly mention if the test was a bug/warn/check, and
"FATAL" is only displayed when the process crashes. The non-crashing
BUG_ON() also suggests to report to developers.
include/haproxy/bug.h