mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +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 {
|
||||
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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user