0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd:Ⓜ️ Fix bootstrap interrupt/terminate exception related.

This commit is contained in:
Jason Volk 2022-06-13 21:02:39 -07:00
parent 8338eb0ae2
commit 37b98a04f3

View file

@ -400,14 +400,18 @@ catch(const std::exception &e)
{
throw ircd::error
{
ircd::error::hide_name, "%s", e.what(),
"bootstrap %s :terminated without completion :%s",
server_name(homeserver),
e.what(),
};
}
catch(const ctx::terminated &)
{
throw ircd::error
log::critical
{
"bootstrap %s :terminated without completion",
log, "bootstrap %s :terminated without completion.",
server_name(homeserver),
};
throw;
}