Commit 5ceebb4a authored by Sam Ghods's avatar Sam Ghods

Add error message to log of docker error

parent 45d8c97b
......@@ -272,7 +272,7 @@ func ConnectToDockerOrDie(dockerEndpoint string) DockerInterface {
}
client, err := docker.NewClient(getDockerEndpoint(dockerEndpoint))
if err != nil {
glog.Fatal("Couldn't connect to docker.")
glog.Fatalf("Couldn't connect to docker: %v", err)
}
return client
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment