diff --git a/command/agent/testagent.go b/command/agent/testagent.go index 617e3cced..db1f202cc 100644 --- a/command/agent/testagent.go +++ b/command/agent/testagent.go @@ -144,7 +144,7 @@ RETRY: a.Agent = agent break } else if i == 0 { - a.T.Logf(a.Name, "Error starting agent:", err) + a.T.Logf("%s: Error starting agent: %v", a.Name, err) runtime.Goexit() } else { if agent != nil {