mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd:Ⓜ️:homeserver: Fix missing error format string specifiers.
This commit is contained in:
parent
b5e1446510
commit
1cc57495a4
1 changed files with 6 additions and 6 deletions
|
@ -280,10 +280,10 @@ catch(const std::exception &e)
|
|||
log::logf
|
||||
{
|
||||
log, log::level::CRITICAL,
|
||||
"Failed to start server '%s' on network '%s'",
|
||||
"Failed to start server '%s' on network '%s' :%s",
|
||||
opts->server_name,
|
||||
opts->origin,
|
||||
e.what()
|
||||
e.what(),
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -890,17 +890,17 @@ catch(const std::exception &e)
|
|||
log::logf
|
||||
{
|
||||
log, log::level::CRITICAL,
|
||||
"Failed to start server '%s' on network '%s'",
|
||||
"Failed to bootstrap server '%s' on network '%s' :%s",
|
||||
server_name(homeserver),
|
||||
origin(homeserver),
|
||||
e.what()
|
||||
e.what(),
|
||||
};
|
||||
|
||||
throw ircd::error
|
||||
{
|
||||
"bootstrap %s error :%s",
|
||||
"bootstrap %s :%s",
|
||||
server_name(homeserver),
|
||||
e.what()
|
||||
e.what(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue