0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

ircd: Simplify log msgs.

This commit is contained in:
Jason Volk 2019-04-23 17:44:18 -07:00
parent 88f924f27a
commit 8b89b9caaf
2 changed files with 3 additions and 3 deletions

View file

@ -676,7 +676,7 @@ try
if(!err_check() || unlikely(ircd::run::level != ircd::run::level::RUN))
throw unavailable
{
"Peer is unable to take any requests: %s", err_msg()
"Peer is unable to take any requests :%s", err_msg()
};
link *const ret

View file

@ -543,7 +543,7 @@ catch(const std::exception &e)
{
log::error
{
log, "hook handle %s %s :%s",
log, "%s %s :%s",
loghead(eval),
json::get<"event_id"_>(event),
e.what(),
@ -669,7 +669,7 @@ catch(const std::exception &e)
{
log::error
{
log, "fetch eval %s in %s :%s",
log, "eval %s in %s :%s",
string_view{it->event_id},
string_view{it->room_id},
e.what()