Include error in error message

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #438
Approved by: rhatdan
This commit is contained in:
Matthew Heon
2018-03-02 11:11:04 -05:00
committed by Atomic Bot
parent 3639859622
commit 29d650a379

View File

@ -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
}