0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-28 15:53:46 +02:00

ircd:Ⓜ️:homeserver: Fix missing error format string specifiers.

This commit is contained in:
Jason Volk 2020-05-10 18:22:10 -07:00
parent b5e1446510
commit 1cc57495a4

View file

@ -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(),
};
}