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:
parent
03651c2274
commit
486ddf8c8f
|
@ -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{};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue