mirror of https://github.com/containers/podman.git
Include error in error message
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #438 Approved by: rhatdan
This commit is contained in:
parent
3639859622
commit
29d650a379
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue