From a7318781c60c867b10ecde91a3da3b2ce0704776 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 9 Oct 2018 16:32:55 -0400 Subject: Log an otherwise ignored error from joining a net ns Signed-off-by: Matthew Heon --- libpod/boltdb_state_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/boltdb_state_linux.go b/libpod/boltdb_state_linux.go index fce3a1b1e..d91f311e5 100644 --- a/libpod/boltdb_state_linux.go +++ b/libpod/boltdb_state_linux.go @@ -25,7 +25,7 @@ func replaceNetNS(netNSPath string, ctr *Container, newState *containerState) er if err == nil { newState.NetNS = ns } else { - logrus.Errorf("error joining network namespace for container %s", ctr.ID()) + logrus.Errorf("error joining network namespace for container %s: %v", ctr.ID(), err) ctr.valid = false } } -- cgit v1.2.3-54-g00ecf