0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 08:54:02 +01:00

ircd:Ⓜ️ Report a critical log on exception here.

This commit is contained in:
Jason Volk 2019-08-14 02:41:30 -07:00
parent e6a9394a46
commit de730e33b1

View file

@ -3475,6 +3475,15 @@ noexcept try
return event.event_id == check_id; return event.event_id == check_id;
} }
catch(const std::exception &e)
{
log::critical
{
"m::check_id() unexpected :%s", e.what()
};
return false;
}
catch(...) catch(...)
{ {
assert(0); assert(0);