0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 18:18:56 +02:00

ircd: More accurate assertion message.

This commit is contained in:
Jason Volk 2018-03-16 15:17:46 -07:00
parent 03651c2274
commit 486ddf8c8f

View file

@ -182,7 +182,7 @@ noexcept(RB_DEBUG_LEVEL)
{
assertion(std::current_exception());
} else {
log::critical("IRCd Assertion without active exception.");
log::critical("IRCd Assertion without exception.");
assert(0);
throw assertive{};
}