0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 10:08:56 +02: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;
}
catch(const std::exception &e)
{
log::critical
{
"m::check_id() unexpected :%s", e.what()
};
return false;
}
catch(...)
{
assert(0);