diff --git a/matrix/fed_well_known.cc b/matrix/fed_well_known.cc index e5e8e5224..bc055e3ac 100644 --- a/matrix/fed_well_known.cc +++ b/matrix/fed_well_known.cc @@ -366,6 +366,10 @@ try assert(request::list.empty()); } +catch(const ctx::interrupted &) +{ + throw; +} catch(const std::exception &e) { log::critical diff --git a/modules/m_pusher.cc b/modules/m_pusher.cc index 77fc27f4f..dd9ac5e7e 100644 --- a/modules/m_pusher.cc +++ b/modules/m_pusher.cc @@ -128,6 +128,10 @@ try } while(1); } +catch(const ctx::interrupted &) +{ + throw; +} catch(const std::exception &e) { log::critical