Add error message to log of docker error

This commit is contained in:
Sam Ghods 2015-04-27 21:49:46 -07:00
parent 45d8c97b0b
commit 5ceebb4a5f

View File

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