mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
ircd:Ⓜ️ Report a critical log on exception here.
This commit is contained in:
parent
e6a9394a46
commit
de730e33b1
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue