From de730e33b1207d547d4980d7426e2065c573c0c8 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 14 Aug 2019 02:41:30 -0700 Subject: [PATCH] ircd::m: Report a critical log on exception here. --- ircd/m_event.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ircd/m_event.cc b/ircd/m_event.cc index 975631cfe..b2f4b81bd 100644 --- a/ircd/m_event.cc +++ b/ircd/m_event.cc @@ -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);