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:
parent
88f924f27a
commit
8b89b9caaf
2 changed files with 3 additions and 3 deletions
|
@ -676,7 +676,7 @@ try
|
||||||
if(!err_check() || unlikely(ircd::run::level != ircd::run::level::RUN))
|
if(!err_check() || unlikely(ircd::run::level != ircd::run::level::RUN))
|
||||||
throw unavailable
|
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
|
link *const ret
|
||||||
|
|
|
@ -543,7 +543,7 @@ catch(const std::exception &e)
|
||||||
{
|
{
|
||||||
log::error
|
log::error
|
||||||
{
|
{
|
||||||
log, "hook handle %s %s :%s",
|
log, "%s %s :%s",
|
||||||
loghead(eval),
|
loghead(eval),
|
||||||
json::get<"event_id"_>(event),
|
json::get<"event_id"_>(event),
|
||||||
e.what(),
|
e.what(),
|
||||||
|
@ -669,7 +669,7 @@ catch(const std::exception &e)
|
||||||
{
|
{
|
||||||
log::error
|
log::error
|
||||||
{
|
{
|
||||||
log, "fetch eval %s in %s :%s",
|
log, "eval %s in %s :%s",
|
||||||
string_view{it->event_id},
|
string_view{it->event_id},
|
||||||
string_view{it->room_id},
|
string_view{it->room_id},
|
||||||
e.what()
|
e.what()
|
||||||
|
|
Loading…
Reference in a new issue