Commit 180df8e4 authored by Jerzy Szczepkowski's avatar Jerzy Szczepkowski

Merge pull request #7422 from ghodss/more-verbose-error-msg

Add error message to log of docker error
parents 99fc906f 5ceebb4a
...@@ -272,7 +272,7 @@ func ConnectToDockerOrDie(dockerEndpoint string) DockerInterface { ...@@ -272,7 +272,7 @@ func ConnectToDockerOrDie(dockerEndpoint string) DockerInterface {
} }
client, err := docker.NewClient(getDockerEndpoint(dockerEndpoint)) client, err := docker.NewClient(getDockerEndpoint(dockerEndpoint))
if err != nil { if err != nil {
glog.Fatal("Couldn't connect to docker.") glog.Fatalf("Couldn't connect to docker: %v", err)
} }
return client 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