0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-08 13:08:56 +02:00

ircd:Ⓜ️:room::auth: Propagate interruption.

This commit is contained in:
Jason Volk 2019-08-22 06:05:14 -07:00
parent 7bd716a103
commit 5a22fa7370
2 changed files with 13 additions and 1 deletions

View file

@ -3095,7 +3095,7 @@ ircd::m::room::state::space::rebuild::rebuild(const room::id &room_id)
e.what()
};
break;
throw;
}
catch(const std::exception &e)
{

View file

@ -225,6 +225,10 @@ try
return check(event, room);
}
catch(const ctx::interrupted &)
{
throw;
}
catch(const std::exception &)
{
return
@ -259,6 +263,10 @@ try
return check(event, room);
}
catch(const ctx::interrupted &)
{
throw;
}
catch(const std::exception &)
{
return
@ -302,6 +310,10 @@ try
return check(event, vector_view<event::idx>{idx, count});
}
catch(const ctx::interrupted &)
{
throw;
}
catch(const std::exception &)
{
return