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:
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;
|
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);
|
||||||
|
|
Loading…
Reference in a new issue