summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-03-02 11:11:04 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-02 16:34:20 +0000
commit29d650a3799b76b08094b6dc90fe8500c76fa6de (patch)
tree5f5c3fe7a783c25628b8f785dc97a417c1b008dd
parent3639859622bf1b42c90088295b27efc0882087f6 (diff)
downloadpodman-29d650a3799b76b08094b6dc90fe8500c76fa6de.tar.gz
podman-29d650a3799b76b08094b6dc90fe8500c76fa6de.tar.bz2
podman-29d650a3799b76b08094b6dc90fe8500c76fa6de.zip
Include error in error message
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #438 Approved by: rhatdan
-rw-r--r--libpod/oci.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci.go b/libpod/oci.go
index b808d878e..2ea3317d6 100644
--- a/libpod/oci.go
+++ b/libpod/oci.go
@@ -394,7 +394,7 @@ func (r *OCIRuntime) updateContainerStatus(ctr *Container) error {
if err != nil {
ctr.state.ExitCode = -1
ctr.state.FinishedTime = time.Now()
- logrus.Errorf("No exit file for container %s found: %v", ctr.ID())
+ logrus.Errorf("No exit file for container %s found: %v", ctr.ID(), err)
return nil
}