0
0
Fork 0
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:
Jason Volk 2019-07-25 22:35:07 -07:00
parent 72f6fc9295
commit dd640266f5

View file

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