From 733a6a5f10579d4e971631029403bd1cfa54baba Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 8 Jun 2018 10:29:41 +0200 Subject: container: specify path to error message Signed-off-by: Giuseppe Scrivano Closes: #871 Approved by: mheon --- libpod/container_attach.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/container_attach.go b/libpod/container_attach.go index fa09d1ca4..ffe3a5edc 100644 --- a/libpod/container_attach.go +++ b/libpod/container_attach.go @@ -85,7 +85,7 @@ func (c *Container) attachContainerSocket(resize <-chan remotecommand.TerminalSi conn, err := net.DialUnix("unixpacket", nil, &net.UnixAddr{Name: c.AttachSocketPath(), Net: "unixpacket"}) if err != nil { - return errors.Wrapf(err, "failed to connect to container's attach socket: %v") + return errors.Wrapf(err, "failed to connect to container's attach socket: %v", c.AttachSocketPath()) } defer conn.Close() -- cgit v1.2.3-54-g00ecf