mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +08:00
Include error in error message
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #438 Approved by: rhatdan
This commit is contained in:
@ -394,7 +394,7 @@ func (r *OCIRuntime) updateContainerStatus(ctr *Container) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
ctr.state.ExitCode = -1
|
ctr.state.ExitCode = -1
|
||||||
ctr.state.FinishedTime = time.Now()
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user