diff --git a/command/agent/agent.go b/command/agent/agent.go index 3f40aa4c45..5f575d0e44 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -325,7 +325,7 @@ func (a *Agent) listenAndServeDNS() error { err := s.ListenAndServe(p.Net, p.Addr, func() { notif <- p }) if err != nil && !strings.Contains(err.Error(), "accept") { - a.logger.Printf("[ERR] agent: Error starting DNS server %s (%s): ", p.Addr, p.Net, err) + a.logger.Printf("[ERR] agent: Error starting DNS server %s (%s): %v", p.Addr, p.Net, err) } }() }