mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
ircd:Ⓜ️:room::auth: Propagate interruption.
This commit is contained in:
parent
7bd716a103
commit
5a22fa7370
2 changed files with 13 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue