diff --git a/ircd/ctx.cc b/ircd/ctx.cc index c32c1b46b..f0bce038d 100644 --- a/ircd/ctx.cc +++ b/ircd/ctx.cc @@ -112,14 +112,16 @@ noexcept try // Call the user's function. func(); + + assert(!std::uncaught_exceptions()); } catch(const ircd::ctx::interrupted &) { - + assert(!std::uncaught_exceptions()); } catch(const ircd::ctx::terminated &) { - + assert(!std::uncaught_exceptions()); } catch(const std::exception &e) {