mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01:00
ircd:Ⓜ️ Fix bootstrap interrupt/terminate exception related.
This commit is contained in:
parent
8338eb0ae2
commit
37b98a04f3
1 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue