mirror of
https://github.com/matrix-construct/construct
synced 2024-09-30 04:38:52 +02:00
modules/net_dns_resolver: Simplify errorlog msg.
This commit is contained in:
parent
72f6fc9295
commit
dd640266f5
1 changed files with 1 additions and 3 deletions
|
@ -810,12 +810,10 @@ ircd::net::dns::resolver::error_one(tag &tag,
|
|||
const std::exception_ptr &eptr,
|
||||
const bool &remove)
|
||||
{
|
||||
thread_local char hpbuf[128];
|
||||
log::error
|
||||
{
|
||||
log, "DNS error id:%u for '%s' :%s",
|
||||
log, "DNS error id:%u :%s",
|
||||
tag.id,
|
||||
string(hpbuf, tag.hp),
|
||||
what(eptr)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue